Skip to content
Permalink
Browse files

fix sizebot - point correctly to circleci artifact (#17975)

similar to #17972, this should fix sizebot not reporting stats right now
  • Loading branch information
threepointone committed Feb 4, 2020
1 parent 613cbd3 commit d84c539b31bc703fe6271965ce85344f50c8c207
Showing with 1 addition and 1 deletion.
  1. +1 −1 dangerfile.js
@@ -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;

0 comments on commit d84c539

Please sign in to comment.
You can’t perform that action at this time.