Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
keroxp committed Jun 18, 2024
1 parent 36d448a commit 28eb436
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35788,7 +35788,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.downloadCage = exports.getLatestVersion = void 0;
exports.parseChecksum = exports.downloadCage = exports.getLatestVersion = void 0;
const github_1 = __nccwpck_require__(5438);
const tc = __importStar(__nccwpck_require__(7784));
const core = __importStar(__nccwpck_require__(2186));
Expand Down Expand Up @@ -35868,8 +35868,10 @@ async function parseChecksum(file) {
const [hash, filename] = line.split(" ");
return [filename, hash];
});
console.log(entries);
return new Map(entries);
}
exports.parseChecksum = parseChecksum;
async function sha256hashAsync(stream) {
return await new Promise((resolve, reject) => {
const hash = node_crypto_1.default.createHash("sha256");
Expand Down

0 comments on commit 28eb436

Please sign in to comment.