Comparing version 1.1.7 to 1.1.8
{ | ||
"name": "depsync", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"author": "Dom Chen", | ||
@@ -5,0 +5,0 @@ "homepage": "http://www.idom.me/", |
@@ -147,13 +147,15 @@ ////////////////////////////////////////////////////////////////////////////////////// | ||
let options = { | ||
shell: true, | ||
cwd: dir, | ||
env: process.env | ||
} | ||
if (quiet) { | ||
options.stderr = "inherit"; | ||
} else { | ||
if (!quiet) { | ||
options.stdio = "inherit"; | ||
} | ||
try { | ||
childProcess.execSync(cmd, options); | ||
} catch (error) { | ||
let result = childProcess.spawnSync(cmd, options); | ||
if (result.status !== 0) { | ||
if (quiet) { | ||
error(result.stderr); | ||
} | ||
process.exit(1); | ||
@@ -160,0 +162,0 @@ } |
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
41410
957