Open chapterjason opened 6 years ago
Run into the same problem. That behaviour breaks usage of any strings started with -
Also minimist seems to be unsupported for years substack/minimist#115 Maybe it should be replaced with yargs-parser Minimist2 at the moment breaks more tests. yargs-parser has only one integration test failed. And it will be possibly easier to fix. Also yargs-parser is actively maintained
Moving to yargs-parser seem to fix this bug
I use
Vorpal
for a short time and recently found the following issue.This is my code:
The output is the following:
After some debugging I found out that https://github.com/dthree/vorpal/blob/master/lib/util.js#L22 is removing the quotes.