Comparing version 6.1.2 to 6.1.3
@@ -18,13 +18,17 @@ "use strict"; | ||
var ps = cp.spawn(cmd, options.args || [], options); | ||
try { | ||
var ps = cp.spawn(cmd, options.args || [], options); | ||
ps.on('error', chain); | ||
ps.on('error', chain); | ||
ps.on('close', function(exit) { | ||
var err = null; | ||
if(exit !== 0) | ||
err = "Bad exit code " + exit; | ||
return chain(err, exit); | ||
}); | ||
ps.on('close', function(exit) { | ||
var err = null; | ||
if(exit !== 0) | ||
err = "Bad exit code " + exit; | ||
return chain(err, exit); | ||
}); | ||
} catch(err) { | ||
chain(err); | ||
} | ||
}; | ||
{ | ||
"name": "nyks", | ||
"version": "6.1.2", | ||
"version": "6.1.3", | ||
"description": "nodejs exupery style", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
"use strict"; | ||
module.exports = function() { | ||
module.exports = function(callee) { | ||
var thisresolve; | ||
@@ -19,4 +19,6 @@ var thisreject; | ||
}; | ||
if(callee) | ||
callee(defer); | ||
return defer; | ||
}; |
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
72276
1926