Skip to content

Commit ffce0c1

Browse files
committed
Fix bundle validation
1 parent 44f95d4 commit ffce0c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

development/metamaskbot-build-announce.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ function getPercentageChange(from, to) {
4444
* @returns True if the artifact exists, false if it doesn't
4545
*/
4646
async function artifactExists(url) {
47-
const response = await fetch(url, { method: 'HEAD' });
47+
// Using a regular GET request here rather than HEAD because for some reason CircleCI always
48+
// returns 404 for HEAD requests.
49+
const response = await fetch(url);
4850
return response.ok;
4951
}
5052

0 commit comments

Comments
 (0)