Apply auto-build changes

This commit is contained in:
HaveAGitGat 2024-05-14 07:20:11 +00:00 committed by github-actions[bot]
parent 6dbbfd6c5b
commit 5f953a06c7
2 changed files with 129 additions and 3 deletions

View file

@ -289,7 +289,8 @@ var CLI = /** @class */ (function () {
thread.on('error', function () {
// catches execution error (bad file)
// eslint-disable-next-line no-console
console.log(1, "Error executing binary: ".concat(_this.config.cli));
console.log("Error executing binary: ".concat(_this.config.cli));
_this.config.jobLog("Error executing binary: ".concat(_this.config.cli));
resolve(1);
});
// thread.stdout.pipe(process.stdout);
@ -297,7 +298,8 @@ var CLI = /** @class */ (function () {
thread.on('close', function (code) {
if (code !== 0) {
// eslint-disable-next-line no-console
console.log(code, 'CLI error');
console.log("CLI error code: ".concat(code));
_this.config.jobLog("CLI error code: ".concat(code));
}
resolve(code);
});
@ -305,7 +307,8 @@ var CLI = /** @class */ (function () {
catch (err) {
// catches execution error (no file)
// eslint-disable-next-line no-console
console.log(1, "Error executing binary: ".concat(_this.config.cli));
console.log("Error executing binary: ".concat(_this.config.cli, ": ").concat(err));
_this.config.jobLog("Error executing binary: ".concat(_this.config.cli, ": ").concat(err));
resolve(1);
}
})];