Loading dist/restore/index.js +12 −6 Changes for dist/restore/index.js: 12 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -2186,6 +2186,8 @@ const http_client_1 = __webpack_require__(539); const auth_1 = __webpack_require__(226); const crypto = __importStar(__webpack_require__(417)); const fs = __importStar(__webpack_require__(747)); const stream = __importStar(__webpack_require__(794)); const util = __importStar(__webpack_require__(669)); const constants_1 = __webpack_require__(694); const utils = __importStar(__webpack_require__(443)); const versionSalt = "1.0"; Loading Loading @@ -2271,13 +2273,10 @@ function getCacheEntry(keys) { }); } exports.getCacheEntry = getCacheEntry; function pipeResponseToStream(response, stream) { function pipeResponseToStream(response, output) { return __awaiter(this, void 0, void 0, function* () { return new Promise(resolve => { response.message.pipe(stream).on("close", () => { resolve(); }); }); const pipeline = util.promisify(stream.pipeline); yield pipeline(response.message, output); }); } function downloadCache(archiveLocation, archivePath) { Loading Loading @@ -4662,6 +4661,13 @@ run(); exports.default = run; /***/ }), /***/ 794: /***/ (function(module) { module.exports = require("stream"); /***/ }), /***/ 826: Loading dist/save/index.js +12 −6 Changes for dist/save/index.js: 12 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -2186,6 +2186,8 @@ const http_client_1 = __webpack_require__(539); const auth_1 = __webpack_require__(226); const crypto = __importStar(__webpack_require__(417)); const fs = __importStar(__webpack_require__(747)); const stream = __importStar(__webpack_require__(794)); const util = __importStar(__webpack_require__(669)); const constants_1 = __webpack_require__(694); const utils = __importStar(__webpack_require__(443)); const versionSalt = "1.0"; Loading Loading @@ -2271,13 +2273,10 @@ function getCacheEntry(keys) { }); } exports.getCacheEntry = getCacheEntry; function pipeResponseToStream(response, stream) { function pipeResponseToStream(response, output) { return __awaiter(this, void 0, void 0, function* () { return new Promise(resolve => { response.message.pipe(stream).on("close", () => { resolve(); }); }); const pipeline = util.promisify(stream.pipeline); yield pipeline(response.message, output); }); } function downloadCache(archiveLocation, archivePath) { Loading Loading @@ -4641,6 +4640,13 @@ module.exports = require("fs"); /***/ }), /***/ 794: /***/ (function(module) { module.exports = require("stream"); /***/ }), /***/ 826: /***/ (function(module, __unusedexports, __webpack_require__) { Loading src/cacheHttpClient.ts +5 −6 Changes for src/cacheHttpClient.ts: 5 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -8,6 +8,8 @@ import { } from "@actions/http-client/interfaces"; import * as crypto from "crypto"; import * as fs from "fs"; import * as stream from "stream"; import * as util from "util"; import { Inputs, SocketTimeout } from "./constants"; import { Loading Loading @@ -128,13 +130,10 @@ export async function getCacheEntry( async function pipeResponseToStream( response: IHttpClientResponse, stream: NodeJS.WritableStream output: NodeJS.WritableStream ): Promise<void> { return new Promise(resolve => { response.message.pipe(stream).on("close", () => { resolve(); }); }); const pipeline = util.promisify(stream.pipeline); await pipeline(response.message, output); } export async function downloadCache( Loading Loading
dist/restore/index.js +12 −6 Changes for dist/restore/index.js: 12 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -2186,6 +2186,8 @@ const http_client_1 = __webpack_require__(539); const auth_1 = __webpack_require__(226); const crypto = __importStar(__webpack_require__(417)); const fs = __importStar(__webpack_require__(747)); const stream = __importStar(__webpack_require__(794)); const util = __importStar(__webpack_require__(669)); const constants_1 = __webpack_require__(694); const utils = __importStar(__webpack_require__(443)); const versionSalt = "1.0"; Loading Loading @@ -2271,13 +2273,10 @@ function getCacheEntry(keys) { }); } exports.getCacheEntry = getCacheEntry; function pipeResponseToStream(response, stream) { function pipeResponseToStream(response, output) { return __awaiter(this, void 0, void 0, function* () { return new Promise(resolve => { response.message.pipe(stream).on("close", () => { resolve(); }); }); const pipeline = util.promisify(stream.pipeline); yield pipeline(response.message, output); }); } function downloadCache(archiveLocation, archivePath) { Loading Loading @@ -4662,6 +4661,13 @@ run(); exports.default = run; /***/ }), /***/ 794: /***/ (function(module) { module.exports = require("stream"); /***/ }), /***/ 826: Loading
dist/save/index.js +12 −6 Changes for dist/save/index.js: 12 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -2186,6 +2186,8 @@ const http_client_1 = __webpack_require__(539); const auth_1 = __webpack_require__(226); const crypto = __importStar(__webpack_require__(417)); const fs = __importStar(__webpack_require__(747)); const stream = __importStar(__webpack_require__(794)); const util = __importStar(__webpack_require__(669)); const constants_1 = __webpack_require__(694); const utils = __importStar(__webpack_require__(443)); const versionSalt = "1.0"; Loading Loading @@ -2271,13 +2273,10 @@ function getCacheEntry(keys) { }); } exports.getCacheEntry = getCacheEntry; function pipeResponseToStream(response, stream) { function pipeResponseToStream(response, output) { return __awaiter(this, void 0, void 0, function* () { return new Promise(resolve => { response.message.pipe(stream).on("close", () => { resolve(); }); }); const pipeline = util.promisify(stream.pipeline); yield pipeline(response.message, output); }); } function downloadCache(archiveLocation, archivePath) { Loading Loading @@ -4641,6 +4640,13 @@ module.exports = require("fs"); /***/ }), /***/ 794: /***/ (function(module) { module.exports = require("stream"); /***/ }), /***/ 826: /***/ (function(module, __unusedexports, __webpack_require__) { Loading
src/cacheHttpClient.ts +5 −6 Changes for src/cacheHttpClient.ts: 5 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -8,6 +8,8 @@ import { } from "@actions/http-client/interfaces"; import * as crypto from "crypto"; import * as fs from "fs"; import * as stream from "stream"; import * as util from "util"; import { Inputs, SocketTimeout } from "./constants"; import { Loading Loading @@ -128,13 +130,10 @@ export async function getCacheEntry( async function pipeResponseToStream( response: IHttpClientResponse, stream: NodeJS.WritableStream output: NodeJS.WritableStream ): Promise<void> { return new Promise(resolve => { response.message.pipe(stream).on("close", () => { resolve(); }); }); const pipeline = util.promisify(stream.pipeline); await pipeline(response.message, output); } export async function downloadCache( Loading