File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ async function run() {
172172}
173173
174174async function runNodeOverheadOnComparisonBranch ( ) {
175+ const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
175176 const resultsFilePath = getResultsFilePath ( ) ;
176177
177178 const artifactClient = new DefaultArtifactClient ( ) ;
@@ -190,7 +191,7 @@ async function runNodeOverheadOnComparisonBranch() {
190191 } ) ;
191192 const files = await globber . glob ( ) ;
192193
193- await artifactClient . uploadArtifact ( ARTIFACT_NAME , files ) ;
194+ await artifactClient . uploadArtifact ( ARTIFACT_NAME , files , __dirname ) ;
194195}
195196
196197run ( ) ;
Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ async function run() {
208208}
209209
210210async function runSizeLimitOnComparisonBranch ( ) {
211+ const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
211212 const resultsFilePath = getResultsFilePath ( ) ;
212213
213214 const limit = new SizeLimitFormatter ( ) ;
@@ -228,7 +229,7 @@ async function runSizeLimitOnComparisonBranch() {
228229 } ) ;
229230 const files = await globber . glob ( ) ;
230231
231- await artifactClient . uploadArtifact ( ARTIFACT_NAME , files ) ;
232+ await artifactClient . uploadArtifact ( ARTIFACT_NAME , files , __dirname ) ;
232233}
233234
234235run ( ) ;
You can’t perform that action at this time.
0 commit comments