Skip to content

Disable generation when .env is not present #205

Description

@AndreLuizNogueira

When I run dart run build_runner build to update my drift database, envied_generator also regenerates the .env.g.dart file. However, when the .env file is missing, it generates a .env.g.dart file with empty values. Is it possible to prevent this? I would like to keep the existing file in that case, if possible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions