Comparing version 7.1.13 to 7.1.14
{ | ||
"name": "mrm-core", | ||
"version": "7.1.13", | ||
"version": "7.1.14", | ||
"description": "Utilities to make tasks for Mrm", | ||
@@ -57,3 +57,3 @@ "author": { | ||
], | ||
"gitHead": "8a7ffeeb126cf08d78db3135e50c4fec45fae989" | ||
"gitHead": "9c69e84acf5fd7f40bd7a8e84e3ce9be3484a157" | ||
} |
// @ts-check | ||
const { spawnSync } = require('child_process'); | ||
const isWindows = require('./isWindows'); | ||
const escapeArguments = require('./escapeArguments'); | ||
@@ -11,7 +10,6 @@ | ||
* @param {string} command | ||
* @param {...any} args | ||
* @param {...any} args | ||
*/ | ||
function execCommand(exec, command, ...args) { | ||
exec = exec || spawnSync; | ||
command = isWindows() ? `${command}.cmd` : command; | ||
args[0] = escapeArguments(args[0]); | ||
@@ -18,0 +16,0 @@ |
@@ -5,3 +5,3 @@ // @ts-check | ||
/** | ||
* Rerturn true when we are in a win32 environement | ||
* Return true when we are in a win32 environment | ||
*/ | ||
@@ -8,0 +8,0 @@ function isWindows() { |
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
120503
3851