Skip to content

Conversation

@arikkfir
Copy link
Owner

When a required flag had a default value, execution still failed, saying that the flag has not been provided.

This change fixes that behavior by ensuring that default values are taken under consideration when checking whether a flag is missing or not.

NOTE: environment variables will still override default values.

When a required flag had a default value, execution still failed, saying
that the flag has not been provided.

This change fixes that behavior by ensuring that default values are
taken under consideration when checking whether a flag is missing or
not.

NOTE: environment variables will still override default values.
@arikkfir arikkfir added the bug Something isn't working label Jun 14, 2024
@arikkfir arikkfir self-assigned this Jun 14, 2024
@arikkfir arikkfir enabled auto-merge (rebase) June 14, 2024 12:15
@arikkfir arikkfir merged commit 82bab17 into main Jun 14, 2024
@arikkfir arikkfir deleted the arikkfir/bug/required-flags-with-default-value-still-failed-validation branch June 14, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants