Skip to content

Commit

Permalink
Fix bundle validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Gudahtt committed Dec 20, 2024
1 parent d55a91e commit b4f5c85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion development/metamaskbot-build-announce.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ function getPercentageChange(from, to) {
* @returns True if the artifact exists, false if it doesn't
*/
async function artifactExists(url) {
const response = await fetch(url, { method: 'HEAD' });
// Using a regular GET request here rather than HEAD because for some reason CircleCI always
// returns 404 for HEAD requests.
const response = await fetch(url);
return response.ok;
}

Expand Down

0 comments on commit b4f5c85

Please sign in to comment.