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
$ npm install yargs@next
$ node script.js alpha beta
script.js alpha
A
Commands:
script.js alpha alpha A
Options:
--help Show help [boolean]
--version Show version number [boolean]
Unknown argument: beta
$ node script.js alpha alpha beta
It works!
$ npm install yargs@17.0.0-candidate.7
$ node script.js alpha beta
script.js alpha
A
Commands:
script.js alpha alpha A
Options:
--help Show help [boolean]
--version Show version number [boolean]
Unknown argument: beta
Problem
Using an async builder used to work but is now producing erroneous results.
Example
Given this minimal script:
The following commands produce this output:
The text was updated successfully, but these errors were encountered: