fix: display erroring git commands properly

This commit is contained in:
Pierre Vanduynslager
2019-11-01 16:58:55 -04:00
parent e5344cd89b
commit 1edae67326
+1 -1
View File
@@ -84,7 +84,7 @@ async function run(context, plugins) {
throw error; throw error;
} }
} catch (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); throw getError('EGITNOPERMISSION', context);
} }