(item: Extension)
| 79 | } |
| 80 | |
| 81 | function getSourceUrl(item: Extension): string { |
| 82 | return item.sourceUrl || (item.path ? getGitHubUrl(item.path) : ""); |
| 83 | } |
| 84 | |
| 85 | function toRawAssetUrl(item: Extension, assetPath: string | null | undefined): string { |
| 86 | if (!assetPath || !item.ref) return ""; |
no test coverage detected