File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ async function parseRawRepository(repo: string): Promise<ExtensionInfo> {
8080 const extPackageInfo = parsePackageJson ( res . data , repo ) ;
8181
8282 if ( extPackageInfo . iconUrl ) {
83- extPackageInfo . iconUrl = repo + extPackageInfo . iconUrl ;
83+ extPackageInfo . iconUrl = repo + 'static/' + extPackageInfo . iconUrl ;
8484 }
8585
8686 return {
@@ -119,7 +119,7 @@ async function parseGithubRepository(repo: string): Promise<ExtensionInfo> {
119119 const extPackageInfo = parsePackageJson ( content , repo ) ;
120120 const defaultBranch = await getDefaultBranch ( owner , repoName ) ;
121121 if ( extPackageInfo . iconUrl ) {
122- extPackageInfo . iconUrl = `https://raw.githubusercontent.com/${ owner } /${ repoName } /${ defaultBranch } /${ extPackageInfo . iconUrl } ` ;
122+ extPackageInfo . iconUrl = `https://raw.githubusercontent.com/${ owner } /${ repoName } /${ defaultBranch } /static/ ${ extPackageInfo . iconUrl } ` ;
123123 }
124124
125125 const releaseTags = await getGithubReleaseTags ( owner , repoName ) ;
You can’t perform that action at this time.
0 commit comments