Comparing version 0.4.1 to 0.4.2
@@ -145,4 +145,5 @@ /** | ||
cli.app = arr.shift(); | ||
//Strip off argv[0] if it's 'node' | ||
if (!keep_arg0 && 'node' === cli.native.path.basename(cli.app)) { | ||
//Strip off argv[0] if it's a node binary | ||
if (!keep_arg0 && ('node' === cli.native.path.basename(cli.app) | ||
|| process.execPath === cli.app)) { | ||
cli.app = arr.shift(); | ||
@@ -149,0 +150,0 @@ } |
{ "name" : "cli", | ||
"description" : "A tool for rapidly building command line apps", | ||
"version" : "0.4.1", | ||
"version" : "0.4.2", | ||
"homepage" : "http://github.com/chriso/cli", | ||
@@ -5,0 +5,0 @@ "keywords" : ["cli","command line","opts","parseopt","opt","args","console","argsparse","optparse","daemon","autocomplete","command","autocompletion"], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49158
1191