Skip to content

Commit 6130d3d

Browse files
committed
fix linting & import
1 parent e856733 commit 6130d3d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as glob from '@actions/glob';
1010
import * as io from '@actions/io';
1111
import { markdownTable } from 'markdown-table';
1212

13-
import { SizeLimit } from './utils/SizeLimitFormatter.mjs';
13+
import { SizeLimitFormatter } from './utils/SizeLimitFormatter.mjs';
1414
import { getArtifactsForBranchAndWorkflow } from './utils/getArtifactsForBranchAndWorkflow.mjs';
1515

1616
const SIZE_LIMIT_HEADING = '## size-limit report 📦 ';
@@ -67,7 +67,7 @@ async function run() {
6767
}
6868

6969
const octokit = getOctokit(githubToken);
70-
const limit = new SizeLimit();
70+
const limit = new SizeLimitFormatter();
7171
const resultsFilePath = getResultsFilePath();
7272

7373
// If we have no comparison branch, we just run size limit & store the result as artifact
@@ -88,7 +88,7 @@ async function run() {
8888
...repo,
8989
artifactName: ARTIFACT_NAME,
9090
branch: comparisonBranch,
91-
workflowName
91+
workflowName,
9292
});
9393
core.endGroup();
9494

@@ -189,7 +189,7 @@ async function run() {
189189
async function runSizeLimitOnComparisonBranch() {
190190
const resultsFilePath = getResultsFilePath();
191191

192-
const limit = new SizeLimit();
192+
const limit = new SizeLimitFormatter();
193193
const artifactClient = artifact.create();
194194

195195
const { output: baseOutput } = await execSizeLimit();

0 commit comments

Comments
 (0)