Skip to content

Commit

Permalink
fix newline stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
seanbudd committed Sep 10, 2024
1 parent 6ae92e3 commit 67d483a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/checkAddonUrlAndHash.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function checkMetadataDownloadResult({core}, metadataFile, downloadFileName, sha
console.log(`stdout: ${stdout}`);
console.log(`stderr: ${stderr}`);
// delete file if download failed
strippedStderr = stderr.replace("\n", " ");
strippedStderr = stderr.replace("\n", " ").replace("\r", "");
removeMetadataFile({core}, metadataFile, `Download failed: ${strippedStderr}`);
return;
}
Expand Down

0 comments on commit 67d483a

Please sign in to comment.