Skip to content

Commit

Permalink
Add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gudahtt committed Dec 20, 2024
1 parent fb737b2 commit 44f95d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions development/metamaskbot-build-announce.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,16 @@ async function start() {
for (const fileRoot of fileRoots) {
let fileIndex = 0;
let url = `${BUILD_LINK_BASE}${sourceMapRoot}${fileRoot}-${fileIndex}.html`;
console.log(`Verifying ${url}`);
while (await artifactExists(url)) {
const link = `<a href="${url}">${fileIndex}</a>`;
bundles[fileRoot].push(link);

fileIndex += 1;
url = `${BUILD_LINK_BASE}${sourceMapRoot}${fileRoot}-${fileIndex}.html`;
console.log(`Verifying ${url}`);
}
console.log(`Not found: ${url}`);
}

const bundleMarkup = `<ul>${Object.keys(bundles)
Expand Down

0 comments on commit 44f95d4

Please sign in to comment.