diff --git a/lib/actions/spawn-command.js b/lib/actions/spawn-command.js index 7d714fd7..771f0941 100644 --- a/lib/actions/spawn-command.js +++ b/lib/actions/spawn-command.js @@ -15,7 +15,7 @@ const spawnCommand = module.exports; * @param {object} [opt] any cross-spawn options * @return {String} spawned process reference */ -spawnCommand.spawnCommand = (command, args, opt) => { +spawnCommand.spawnCommand = function (command, args, opt) { return spawn(command, args, { stdio: 'inherit', cwd: this.destinationRoot(), @@ -31,7 +31,7 @@ spawnCommand.spawnCommand = (command, args, opt) => { * @param {object} [opt] any cross-spawn options * @return {String} spawn.sync result */ -spawnCommand.spawnCommandSync = (command, args, opt) => { +spawnCommand.spawnCommandSync = function (command, args, opt) { return spawn.sync(command, args, { stdio: 'inherit', cwd: this.destinationRoot(),