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

[patch]: consider aliases when testing boolean option value against 'false' #33

Merged
merged 1 commit into from
Apr 9, 2023

Conversation

shadowspawn
Copy link
Collaborator

@shadowspawn shadowspawn commented Mar 19, 2023

Take aliases into consideration when processing value assigned to a boolean option, like --dry-run=false. See #30 for details.

Fixes: #30

@codecov-commenter
Copy link

codecov-commenter commented Mar 19, 2023

Codecov Report

Merging #33 (de53490) into main (2758c33) will not change coverage.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##             main      #33   +/-   ##
=======================================
  Coverage   98.78%   98.78%           
=======================================
  Files           1        1           
  Lines         165      165           
  Branches       70       70           
=======================================
  Hits          163      163           
  Misses          2        2           
Impacted Files Coverage Δ
index.js 98.78% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@shadowspawn shadowspawn marked this pull request as ready for review April 7, 2023 22:12
@shadowspawn shadowspawn changed the title patch: consider aliases when testing boolean option value against 'false' [patch]: consider aliases when testing boolean option value against 'false' Apr 7, 2023
@ljharb ljharb merged commit de53490 into minimistjs:main Apr 9, 2023
287 of 288 checks passed
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.

Special handling of boolean long option value does not work for alias
3 participants