fix: correctly display command that errored out in logs

This commit is contained in:
Pierre Vanduynslager 2019-12-15 17:40:39 -05:00
parent a373f8be14
commit fc7205d659

View File

@ -75,7 +75,7 @@ async function run(context, plugins) {
throw error;
}
} catch (error) {
logger.error(`The command "${error.cmd}" failed with the error message ${error.stderr}.`);
logger.error(`The command "${error.command}" failed with the error message ${error.stderr}.`);
throw getError('EGITNOPERMISSION', {options});
}