diff --git a/dist/index.js b/dist/index.js index 660e7ee..2733a40 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6565,10 +6565,10 @@ class DownloadHttpClient { */ pipeResponseToFile(response, destinationStream, isGzip) { return __awaiter(this, void 0, void 0, function* () { - core.info(`Called with ${izGzip}`) - core.info(`Called with ${JSON.stringify(response)}`) yield new Promise((resolve, reject) => { if (isGzip) { + core.info(`Called with ${izGzip}`); + core.info(`Called with ${JSON.stringify(response)}`); const gunzip = zlib.createGunzip(); response.message .on('error', error => { @@ -6593,6 +6593,8 @@ class DownloadHttpClient { }); } else { + core.info(`Called with ${izGzip}`); + core.info(`Called with ${JSON.stringify(response)}`); response.message .on('error', error => { core.error(`An error occurred while attempting to read the response stream`);