mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-06 06:29:24 +00:00
fix: Update validation
This commit is contained in:
parent
6ab08a75e2
commit
53f686aaf8
3 changed files with 3 additions and 3 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue