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 e9bb798 commit d25e35a
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 d25e35a

Please sign in to comment.