pull/235/head
mdugdale 2021-04-07 22:04:56 +01:00
parent 1f747fb338
commit 359a447b8d
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -669,7 +669,7 @@ class AWS {
core.info('Task stopped, streaming end of logs');
timestamp = Date.now();
}
if (Date.now() - timestamp < 30000) {
if (timestamp !== 0 && Date.now() - timestamp < 30000) {
core.info('Task status is not RUNNING for 30 seconds, last query for logs');
readingLogs = false;
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -546,7 +546,7 @@ class AWS {
core.info('Task stopped, streaming end of logs');
timestamp = Date.now();
}
if (Date.now() - timestamp < 30000) {
if (timestamp !== 0 && Date.now() - timestamp < 30000) {
core.info('Task status is not RUNNING for 30 seconds, last query for logs');
readingLogs = false;
}