Skip to content

Commit

Permalink
fix: display erroring git commands properly
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Nov 1, 2019
1 parent e5344cd commit 1edae67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -84,7 +84,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', context);
}

Expand Down

0 comments on commit 1edae67

Please sign in to comment.