mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 03:45:26 +00:00
fix: Update validation
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -13064,7 +13064,7 @@ const verify = (filename) => __awaiter(void 0, void 0, void 0, function* () {
|
||||
// Verify uploader
|
||||
const uploaderSha = external_crypto_.createHash(`sha256`);
|
||||
const stream = external_fs_.createReadStream(filename);
|
||||
yield stream
|
||||
return yield stream
|
||||
.on('data', (data) => {
|
||||
uploaderSha.update(data);
|
||||
}).on('end', () => __awaiter(void 0, void 0, void 0, function* () {
|
||||
|
||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -47,7 +47,7 @@ const verify = async (filename: string) => {
|
||||
// Verify uploader
|
||||
const uploaderSha = crypto.createHash(`sha256`);
|
||||
const stream = fs.createReadStream(filename);
|
||||
await stream
|
||||
return await stream
|
||||
.on('data', (data) => {
|
||||
uploaderSha.update(data);
|
||||
}).on('end', async () => {
|
||||
|
||||
Reference in New Issue
Block a user