-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2.3.x Do Not Handle Commandline Arguments #30
Comments
if (arg[0] === '-') {
var equalIdx = arg.indexOf('=');
if (equalIdx === -1) {
memo[arg[1]] = nextArg && nextArg[0] === '-' ? true : nextArg;
} It looks setting |
@KSR-Yasuda looks like all it might be needed to fix this issue is to default nextArg to true - var nextArg = rawArgs[idx + 1];
+ var nextArg = rawArgs[idx + 1] || true; What other case is handled by the regexp on #31 will not be taken into account by the simple fix above? |
Yes, but it converts empty string to The current available options don't want empty string for any cases, though, |
Since v2.3.0, it looks ignoring commandline arguments.
The latest valid ver. is v2.2.3:
The text was updated successfully, but these errors were encountered: