@npmcli/run-script
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -66,3 +66,6 @@ /* eslint camelcase: "off" */ | ||
script += '@echo off\n' | ||
script += `${cmd} ${args.map((arg) => escape.cmd(arg, doubleEscape)).join(' ')}` | ||
script += cmd | ||
if (args.length) { | ||
script += ` ${args.map((arg) => escape.cmd(arg, doubleEscape)).join(' ')}` | ||
} | ||
} else { | ||
@@ -74,3 +77,6 @@ const shebang = isAbsolute(scriptShell) | ||
script += `${shebang}\n` | ||
script += `${cmd} ${args.map((arg) => escape.sh(arg)).join(' ')}` | ||
script += cmd | ||
if (args.length) { | ||
script += ` ${args.map((arg) => escape.sh(arg)).join(' ')}` | ||
} | ||
} | ||
@@ -77,0 +83,0 @@ |
{ | ||
"name": "@npmcli/run-script", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Run a lifecycle script for a package (descendant of npm-lifecycle)", | ||
@@ -5,0 +5,0 @@ "author": "GitHub Inc.", |
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
20961
402