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
The way an array argument is parsed changes depending on whether I parse --config.compression=store --config ./electron.config.json vs. --config ./electron.config.json --config.compression=store
When I run:
var argv = require("yargs-parser")('--config.compression=store --config ./electron.config.json')
@elsbree this definitely feels like a bug! thanks for reporting. If you have any interested in fixing this yourself, feel free to join our community slack. And I'd be happy to give direction.
Either way we'll hopefully fix this for you relatively soon as we work through our backlog of issues.
The way an array argument is parsed changes depending on whether I parse
--config.compression=store --config ./electron.config.json
vs.--config ./electron.config.json --config.compression=store
When I run:
The value of
argv.compression
isBut when I swap the arguments and run:
The value of
argv.compression
is"\"./electron.config.json\""
I would expect them both to equal the result of the first command. Is there a reason for this, or is it a bug?
The text was updated successfully, but these errors were encountered: