Skip to content

Commit

Permalink
chore: Fix bundle-stats-commit.sh (#24936)
Browse files Browse the repository at this point in the history
## **Description**

`test-artifacts/chrome/mv3/` was moved to `test-artifacts/chrome/` in
#24746. This path was
updated in most places in that PR, but this file was missed

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
  • Loading branch information
danjm and legobeat authored Jun 3, 2024
1 parent 91c1822 commit 48faea7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/scripts/bundle-stats-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ git clone git@github.com:MetaMask/extension_bundlesize_stats.git temp

{
echo " '${CIRCLE_SHA1}': ";
cat test-artifacts/chrome/mv3/bundle_size_stats.json;
cat test-artifacts/chrome/bundle_size_stats.json;
echo ", ";
} >> temp/stats/bundle_size_data.temp.js

Expand All @@ -57,14 +57,14 @@ if [ -f temp/stats/bundle_size_data.json ]; then
{
echo "},";
echo "\"$CIRCLE_SHA1\":";
cat test-artifacts/chrome/mv3/bundle_size_stats.json;
cat test-artifacts/chrome/bundle_size_stats.json;
echo "}";
} >> bundle_size_stats.temp.json
else
{
echo "{";
echo "\"$CIRCLE_SHA1\":";
cat test-artifacts/chrome/mv3/bundle_size_stats.json;
cat test-artifacts/chrome/bundle_size_stats.json;
echo "}";
} > bundle_size_stats.temp.json
fi
Expand Down

0 comments on commit 48faea7

Please sign in to comment.