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 a4343e7 commit d55a91e
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 d55a91e

Please sign in to comment.