Skip to content

Commit

Permalink
Merge pull request #648 from HaveAGitGat/runCli2
Browse files Browse the repository at this point in the history
Fix error message with cliPath
  • Loading branch information
HaveAGitGat authored May 22, 2024
2 parents f8ee316 + 6822270 commit 04bc128
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function
case 1:
res = _a.sent();
if (res.cliExitCode !== 0) {
msg = "Running ".concat(userCli, " failed");
msg = "Running ".concat(cliPath, " failed");
args.jobLog(msg);
throw new Error(msg);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
const res = await cli.runCli();

if (res.cliExitCode !== 0) {
const msg = `Running ${userCli} failed`;
const msg = `Running ${cliPath} failed`;
args.jobLog(msg);
throw new Error(msg);
}
Expand Down

0 comments on commit 04bc128

Please sign in to comment.