Skip to content

Commit febf70f

Browse files
committed
use default??
1 parent f99e62d commit febf70f

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
@@ -10,7 +10,7 @@ import * as glob from '@actions/glob';
1010
import bytes from 'bytes';
1111
import { markdownTable } from 'markdown-table';
1212

13-
import download from 'github-fetch-workflow-artifact';
13+
import * as download from 'github-fetch-workflow-artifact';
1414

1515
const SIZE_LIMIT_HEADING = '## size-limit report 📦 ';
1616
const ARTIFACT_NAME = 'size-limit-action';
@@ -238,7 +238,7 @@ async function run() {
238238

239239
// Ignore failures here as it is likely that this only happens when introducing size-limit
240240
// and this has not been run on the main branch yet
241-
const res = await download(octokit, {
241+
const res = await download.default(octokit, {
242242
...repo,
243243
artifactName: ARTIFACT_NAME,
244244
branch: comparisonBranch,
@@ -251,7 +251,7 @@ async function run() {
251251
base = JSON.parse(await fs.readFile(resultsFilePath, { encoding: 'utf8' }));
252252
} catch (error) {
253253
core.startGroup('Warning, unable to find base results');
254-
core.warning(error);
254+
core.error(error);
255255
core.endGroup();
256256
}
257257

0 commit comments

Comments
 (0)