(sourceLabel: string)
| 523 | // formatPluginSourceLabel already prefixes zip-url hosts with "via", so adding |
| 524 | // "from" would read as "from via <host>". Only prepend "from" otherwise. |
| 525 | function sourcePhrase(sourceLabel: string): string { |
| 526 | return sourceLabel.startsWith('via ') ? sourceLabel : `from ${sourceLabel}`; |
| 527 | } |
| 528 | |
| 529 | function sourceIdentity(plugin: PluginSummary): string { |
| 530 | if (plugin.source === 'github' && plugin.github !== undefined) { |
no outgoing calls
no test coverage detected