diff --git a/index.js b/index.js index f7b4ef8ecc..b937e39c75 100644 --- a/index.js +++ b/index.js @@ -420,7 +420,7 @@ module.exports.sync = (file, args, options) => { result = childProcess.spawnSync(parsed.file, parsed.args, parsed.options); } catch (error) { throw makeError({error, stdout: '', stderr: '', all: ''}, { - joinedCommand, + command, parsed, timedOut: false, isCanceled: false,