pull/235/head
mdugdale 2021-04-13 23:45:20 +01:00
parent 2edb4e9e70
commit a539d2be07
3 changed files with 4 additions and 4 deletions

2
dist/index.js vendored
View File

@ -669,7 +669,7 @@ class AWS {
yield new Promise((resolve) => setTimeout(resolve, 1500));
const taskData = yield getTaskData();
if ((taskData === null || taskData === void 0 ? void 0 : taskData.lastStatus) !== 'RUNNING') {
if (timestamp == 0) {
if (timestamp === 0) {
core.info('Task stopped, streaming end of logs');
timestamp = Date.now();
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
import * as SDK from 'aws-sdk';
import { customAlphabet, nanoid } from 'nanoid';
import { customAlphabet } from 'nanoid';
import * as fs from 'fs';
import * as core from '@actions/core';
import * as zlib from 'zlib';
@ -546,7 +546,7 @@ class AWS {
await new Promise((resolve) => setTimeout(resolve, 1500));
const taskData = await getTaskData();
if (taskData?.lastStatus !== 'RUNNING') {
if (timestamp == 0) {
if (timestamp === 0) {
core.info('Task stopped, streaming end of logs');
timestamp = Date.now();
}