logging improvement for library not found

pull/289/head
Frostebite 2021-08-15 20:29:48 +00:00 committed by GitHub
parent 8145561ef3
commit 67022616fd
3 changed files with 11 additions and 3 deletions

6
dist/index.js vendored
View File

@ -1332,7 +1332,11 @@ class AWSBuildRunner {
readingLogs = false; readingLogs = false;
} }
else { else {
core.info(json.logEvents[logEventsIndex].message); const message = json.logEvents[logEventsIndex].message;
if (message.includes('Rebuilding Library because the asset database could not be found!')) {
core.warning('LIBRARY NOT FOUND!');
}
core.info(message);
} }
} }
} }

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -164,7 +164,11 @@ class AWSBuildRunner {
core.info('End of cloud runner job logs'); core.info('End of cloud runner job logs');
readingLogs = false; readingLogs = false;
} else { } else {
core.info(json.logEvents[logEventsIndex].message); const message = json.logEvents[logEventsIndex].message;
if (message.includes('Rebuilding Library because the asset database could not be found!')) {
core.warning('LIBRARY NOT FOUND!');
}
core.info(message);
} }
} }
} }