Fix lib caching

pull/310/head
Frostebite 2021-12-27 18:34:15 +00:00
parent bf39c22e9c
commit f44c5d30e5
4 changed files with 5 additions and 11 deletions

7
dist/index.js vendored
View File

@ -503,10 +503,7 @@ class RemoteClientSystem {
return;
}
const outputChunk = `${stdout.toString()}`;
const outputLines = outputChunk.split(`\n`);
for (const element of outputLines) {
cloud_runner_logger_1.default.logCli(element);
}
cloud_runner_logger_1.default.logCli(outputChunk);
output += outputChunk;
});
child.on('close', function (code) {
@ -1281,7 +1278,7 @@ class AWSTaskRunner {
for (let logEventsIndex = 0; logEventsIndex < json.logEvents.length; logEventsIndex++) {
let message = json.logEvents[logEventsIndex].message;
if (json.logEvents[logEventsIndex].message.includes(taskDef.logid)) {
cloud_runner_logger_1.default.log('End of cloud runner job logs');
cloud_runner_logger_1.default.log('End of log transmission received');
readingLogs = false;
}
else if (message.includes('Rebuilding Library because the asset database could not be found!')) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -15,10 +15,7 @@ export class RemoteClientSystem {
return;
}
const outputChunk = `${stdout.toString()}`;
const outputLines = outputChunk.split(`\n`);
for (const element of outputLines) {
CloudRunnerLogger.logCli(element);
}
CloudRunnerLogger.logCli(outputChunk);
output += outputChunk;
});
child.on('close', function (code) {

View File

@ -174,7 +174,7 @@ class AWSTaskRunner {
for (let logEventsIndex = 0; logEventsIndex < json.logEvents.length; logEventsIndex++) {
let message = json.logEvents[logEventsIndex].message;
if (json.logEvents[logEventsIndex].message.includes(taskDef.logid)) {
CloudRunnerLogger.log('End of cloud runner job logs');
CloudRunnerLogger.log('End of log transmission received');
readingLogs = false;
} else if (message.includes('Rebuilding Library because the asset database could not be found!')) {
core.warning('LIBRARY NOT FOUND!');