Skip to content

Env-required with empty variable #148

Open
@evgeek

Description

@evgeek

Hi! I have a question about the env-required validation rule.

It works fine when the variable is not present in the .env file. But if it is present and empty - the validation error is not triggered. Is this the expected behavior? In my opinion, a required variable cannot be empty.

Or maybe this is another way to ensure such a check?

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