From d84c539b31bc703fe6271965ce85344f50c8c207 Mon Sep 17 00:00:00 2001 From: Sunil Pai Date: Tue, 4 Feb 2020 22:03:13 +0000 Subject: [PATCH] fix sizebot - point correctly to circleci artifact (#17975) similar to #17972, this should fix sizebot not reporting stats right now --- dangerfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dangerfile.js b/dangerfile.js index f4624a17c173d..86e7e422a5b40 100644 --- a/dangerfile.js +++ b/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;