Skip to content

Commit c382b74

Browse files
committed
fix
1 parent bc7f0b5 commit c382b74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev-packages/size-limit-gh-action/index.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { promises as fs } from 'node:fs';
22
import path from 'node:path';
3-
import { fileURLToPath } from 'node:url'
3+
import { fileURLToPath } from 'node:url';
44

55
import * as artifact from '@actions/artifact';
66
import * as core from '@actions/core';
@@ -151,7 +151,7 @@ class SizeLimit {
151151
async 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

0 commit comments

Comments
 (0)