Skip to content

Commit

Permalink
fix: correctly display command that errored out in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Dec 15, 2019
1 parent a373f8b commit fc7205d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -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});
}

Expand Down

0 comments on commit fc7205d

Please sign in to comment.