File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dev-packages/size-limit-gh-action Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import { promises as fs } from 'node:fs' ;
22import path from 'node:path' ;
3- import { fileURLToPath } from 'node:url'
3+ import { fileURLToPath } from 'node:url' ;
44
55import * as artifact from '@actions/artifact' ;
66import * as core from '@actions/core' ;
@@ -151,7 +151,7 @@ class SizeLimit {
151151async function execSizeLimit ( ) {
152152 let output = '' ;
153153
154- const status = await exec ( 'yarn' , [ 'size-limit' , '--json' ] , {
154+ const status = await exec . exec ( 'yarn' , [ 'size-limit' , '--json' ] , {
155155 ignoreReturnCode : true ,
156156 listeners : {
157157 stdout : data => {
@@ -192,7 +192,7 @@ async function run() {
192192 const octokit = getOctokit ( githubToken ) ;
193193 const limit = new SizeLimit ( ) ;
194194 const artifactClient = artifact . create ( ) ;
195- const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) )
195+ const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
196196 const resultsFilePath = path . resolve ( __dirname , RESULTS_FILE ) ;
197197
198198 // If we have no comparison branch, we just run size limit & store the result as artifact
You can’t perform that action at this time.
0 commit comments