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 1
1
import { promises as fs } from 'node:fs' ;
2
2
import path from 'node:path' ;
3
- import { fileURLToPath } from 'node:url'
3
+ import { fileURLToPath } from 'node:url' ;
4
4
5
5
import * as artifact from '@actions/artifact' ;
6
6
import * as core from '@actions/core' ;
@@ -151,7 +151,7 @@ class SizeLimit {
151
151
async function execSizeLimit ( ) {
152
152
let output = '' ;
153
153
154
- const status = await exec ( 'yarn' , [ 'size-limit' , '--json' ] , {
154
+ const status = await exec . exec ( 'yarn' , [ 'size-limit' , '--json' ] , {
155
155
ignoreReturnCode : true ,
156
156
listeners : {
157
157
stdout : data => {
@@ -192,7 +192,7 @@ async function run() {
192
192
const octokit = getOctokit ( githubToken ) ;
193
193
const limit = new SizeLimit ( ) ;
194
194
const artifactClient = artifact . create ( ) ;
195
- const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) )
195
+ const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
196
196
const resultsFilePath = path . resolve ( __dirname , RESULTS_FILE ) ;
197
197
198
198
// 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