File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
dev-packages/size-limit-gh-action Expand file tree Collapse file tree 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 📦 ';
1616const ARTIFACT_NAME = 'size-limit-action' ;
1717const RESULTS_FILE = 'size-limit-results.json' ;
1818
19- const artifact = new DefaultArtifactClient ( ) ;
20-
2119async 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
You can’t perform that action at this time.
0 commit comments