Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d84c539

Browse files
fix sizebot - point correctly to circleci artifact (facebook#17975)
similar to facebook#17972, this should fix sizebot not reporting stats right now
1 parent 613cbd3 commit d84c539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dangerfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function git(args) {
171171

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

0 commit comments

Comments
 (0)