Merge pull request #648 from HaveAGitGat/runCli2

Fix error message with cliPath
This commit is contained in:
HaveAGitGat 2024-05-22 13:09:08 +01:00 committed by GitHub
commit 04bc1281bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -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);
}