minimistjs / minimist

parse argument options
MIT License
515 stars 30 forks source link

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

Closed shadowspawn closed 1 year ago

shadowspawn commented 1 year ago

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

Fixes: #30

codecov-commenter commented 1 year ago

Codecov Report

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

:mega: 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.