You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it correct behaviour? Because of 'boolean-negation': false I was expecting similar output { _: [ '--no-asd', 123 ] }.
Fixed that by adding 'negation-prefix': Math.random().toString(36).slice(2) to configuration. But that would be better to fix it under the hood :) Thanks!
UPD: even 'negation-prefix': '' works fine.
The text was updated successfully, but these errors were encountered:
ArthurKa
changed the title
unknown-options-as-args strange behaviourboolean-negation strange behaviour
Apr 21, 2021
ArthurKa
changed the title
boolean-negation strange behaviourboolean-negation + unknown-options-as-args strange behaviour
Apr 21, 2021
Node.js: v14.15.2
yargs-parser: v20.2.7
Is it correct behaviour? Because of
'boolean-negation': false
I was expecting similar output{ _: [ '--no-asd', 123 ] }
.Fixed that by adding
'negation-prefix': Math.random().toString(36).slice(2)
to configuration. But that would be better to fix it under the hood :) Thanks!UPD: even
'negation-prefix': ''
works fine.The text was updated successfully, but these errors were encountered: