File tree 1 file changed +1
-3
lines changed
dev-packages/size-limit-gh-action 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ const SIZE_LIMIT_HEADING = '## size-limit report 📦 ';
16
16
const ARTIFACT_NAME = 'size-limit-action' ;
17
17
const RESULTS_FILE = 'size-limit-results.json' ;
18
18
19
- const artifact = new DefaultArtifactClient ( ) ;
20
-
21
19
async function fetchPreviousComment ( octokit , repo , pr ) {
22
20
const { data : commentList } = await octokit . rest . issues . listComments ( {
23
21
...repo ,
@@ -177,7 +175,7 @@ async function run() {
177
175
178
176
const octokit = getOctokit ( githubToken ) ;
179
177
const limit = new SizeLimit ( ) ;
180
- const artifactClient = artifact . create ( ) ;
178
+ const artifactClient = new DefaultArtifactClient ( ) ;
181
179
const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
182
180
const resultsFilePath = path . resolve ( __dirname , RESULTS_FILE ) ;
183
181
You can’t perform that action at this time.
0 commit comments