Skip to content

Commit

Permalink
fix sizebot - point correctly to circleci artifact (facebook#17975)
Browse files Browse the repository at this point in the history
similar to facebook#17972, this should fix sizebot not reporting stats right now
  • Loading branch information
threepointone authored Feb 4, 2020
1 parent 613cbd3 commit d84c539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function git(args) {

for (let i = 0; i < baseArtifactsInfo.length; i++) {
const info = baseArtifactsInfo[i];
if (info.path === 'home/circleci/project/build/bundle-sizes.json') {
if (info.path.endsWith('bundle-sizes.json')) {
const resultsResponse = await fetch(info.url);
previousBuildResults = await resultsResponse.json();
break;
Expand Down

0 comments on commit d84c539

Please sign in to comment.