Comparing version 1.1.5 to 1.1.6
// Generated by CoffeeScript 1.10.0 | ||
var argsObject, argsString, isString, isWin, path, ref, shellQuote, shellRequired; | ||
var argsObject, argsString, fs, isString, isWin, path, ref, shellQuote, shellRequired; | ||
fs = require('fs'); | ||
path = require('path'); | ||
@@ -49,3 +51,3 @@ | ||
module.exports = function(args, opts) { | ||
var cmd, env, ref1, ref2, ref3; | ||
var cmd, cmd_, env, ref1, ref2, ref3; | ||
if (opts == null) { | ||
@@ -63,2 +65,5 @@ opts = {}; | ||
cmd = path.normalize(cmd); | ||
if (fs.existsSync(cmd_ = cmd + '.cmd')) { | ||
cmd = cmd_; | ||
} | ||
args = ['/s', '/c', "\"" + cmd + "\""].concat(args); | ||
@@ -65,0 +70,0 @@ cmd = 'cmd'; |
{ | ||
"name": "executive", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Elegant command execution.", | ||
@@ -5,0 +5,0 @@ "main": "lib/", |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
17459
368
2