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;