diff --git a/index.js b/index.js index 9e96340dc0..5e8b6cda97 100644 --- a/index.js +++ b/index.js @@ -424,7 +424,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,