Skip to content

Commit

Permalink
oop x 9
Browse files Browse the repository at this point in the history
  • Loading branch information
mgwalker committed Oct 13, 2023
1 parent f595f86 commit 906ac5b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/integrity-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@ jobs:
}
on += 1;
const remoteText = await fetch(url).then((response) => response.text());
const remoteHash = md5(remoteText);
const remoteBuffer = await fetch(url)
.then((response) => response.arrayBuffer())
.then((blob) => Buffer.from(blob));
const remoteHash = md5(remoteBuffer);
if (expectedHash !== remoteHash) {
mismatch.push({ expectedHash, remoteHash, url });
Expand Down

0 comments on commit 906ac5b

Please sign in to comment.