From fc7205d65949f3972c67ce1e4ea485477645866d Mon Sep 17 00:00:00 2001 From: Pierre Vanduynslager Date: Sun, 15 Dec 2019 17:40:39 -0500 Subject: [PATCH] fix: correctly display command that errored out in logs --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2014a81b..e480f190 100644 --- a/index.js +++ b/index.js @@ -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}); }