fix sizebot - point correctly to circleci artifact (#17975)
similar to #17972, this should fix sizebot not reporting stats right now
Sunil Pai committed
Feb 4, 2020 at 22:03 UTC
d84c539b31bc703fe6271965ce85344f50c8c207
1 file changed
+1
-1
dangerfile.js
+1
-1
@@ -171,7 +171,7 @@ function git(args) {
171
172
for (let i = 0; i < baseArtifactsInfo.length; i++) {
173
const info = baseArtifactsInfo[i];
174
- if (info.path === 'home/circleci/project/build/bundle-sizes.json') {
174
+ if (info.path.endsWith('bundle-sizes.json')) {
175
const resultsResponse = await fetch(info.url);
176
previousBuildResults = await resultsResponse.json();
177
break;