Skip to content

Commit

Permalink
fix up refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
seanbudd committed Sep 9, 2024
1 parent 0ede167 commit 558f449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checkAddonUrlAndHash.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function checkDownloadedAddonHash({core}, downloadFileName, sha256) {
});
}

function checkMetadataDownloadResult({core}, metadataFile, sha256, err, stdout, stderr) {
function checkMetadataDownloadResult({core}, metadataFile, downloadFileName, sha256, err, stdout, stderr) {
if (stderr !== '' || err !== null) {
console.log(`err: ${err}`);
console.log(`stdout: ${stdout}`);
Expand All @@ -73,7 +73,7 @@ function checkMetadataFile({core}, metadataFile) {
// increase maxBuffer size to 10GB
{ maxBuffer: 1024 * 1024 * 1024 * 10 },
(err, stdout, stderr) => {
checkMetadataDownloadResult({core}, metadataFile, sha256, err, stdout, stderr);
checkMetadataDownloadResult({core}, metadataFile, downloadFileName, sha256, err, stdout, stderr);
});
}

Expand Down

0 comments on commit 558f449

Please sign in to comment.