Skip to content

Commit

Permalink
feat: remove highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
itsyoboieltr committed Jan 28, 2025
1 parent e040c24 commit 9ba17d2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 198 deletions.
3 changes: 0 additions & 3 deletions development/highlights/README.md

This file was deleted.

50 changes: 0 additions & 50 deletions development/highlights/index.js

This file was deleted.

134 changes: 0 additions & 134 deletions development/highlights/storybook.js

This file was deleted.

11 changes: 0 additions & 11 deletions development/metamaskbot-build-announce.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const path = require('path');
// eslint-disable-next-line no-shadow
const fetch = require('node-fetch');
const VERSION = require('../package.json').version;
const { getHighlights } = require('./highlights');

start().catch(console.error);

Expand Down Expand Up @@ -357,16 +356,6 @@ async function start() {
console.error(`Error constructing bundle size diffs results: '${error}'`);
}

try {
const highlights = await getHighlights({ hostUrl: HOST_URL });
if (highlights) {
const highlightsBody = `### highlights:\n${highlights}\n`;
commentBody += highlightsBody;
}
} catch (error) {
console.error(`Error constructing highlight results: '${error}'`);
}

const JSON_PAYLOAD = JSON.stringify({ body: commentBody });
const POST_COMMENT_URI = `https://api.github.com/repos/metamask/metamask-extension/issues/${PR_NUMBER}/comments`;
console.log(`Announcement:\n${commentBody}`);
Expand Down

0 comments on commit 9ba17d2

Please sign in to comment.