Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[deploy-cli] fix: not being able to override env bools #707

Merged
merged 1 commit into from
Jan 18, 2025
Merged

Conversation

danielattilasimon
Copy link
Collaborator

@danielattilasimon danielattilasimon commented Jan 18, 2025

Previously, there was no way to turn on any bool options through environment variables, because we were using nullish-coalescing assignment on l-values that were never nullish (they were guaranteed to be booleans by minimist).

This was fixed by #704, but in the process, the ability to override an env "true" via an option (e.g. --debug=false) was lost.

This PR addresses that.

Copy link
Collaborator

@bingen bingen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@bingen bingen merged commit 3fdd887 into main Jan 18, 2025
9 checks passed
@danielattilasimon danielattilasimon deleted the bool-args branch January 19, 2025 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants