Skip to content

Commit a59c4ab

Browse files
committed
actually fix it ??
1 parent 758c46b commit a59c4ab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ const SIZE_LIMIT_HEADING = '## size-limit report 📦 ';
1616
const ARTIFACT_NAME = 'size-limit-action';
1717
const RESULTS_FILE = 'size-limit-results.json';
1818

19-
const artifact = new DefaultArtifactClient();
20-
2119
async function fetchPreviousComment(octokit, repo, pr) {
2220
const { data: commentList } = await octokit.rest.issues.listComments({
2321
...repo,
@@ -177,7 +175,7 @@ async function run() {
177175

178176
const octokit = getOctokit(githubToken);
179177
const limit = new SizeLimit();
180-
const artifactClient = artifact.create();
178+
const artifactClient = new DefaultArtifactClient();
181179
const __dirname = path.dirname(fileURLToPath(import.meta.url));
182180
const resultsFilePath = path.resolve(__dirname, RESULTS_FILE);
183181

0 commit comments

Comments
 (0)