(prev?: string, cur?: string)
| 507 | ): string { |
| 508 | const sourceLabel = formatPluginSourceLabel(next); |
| 509 | const versionFromTo = (prev?: string, cur?: string): string => { |
| 510 | if (prev === undefined || prev === cur) return cur === undefined ? '' : ` ${cur}`; |
| 511 | return ` ${prev} → ${cur ?? '-'}`; |
| 512 | }; |
| 513 | if (previous === undefined) { |
| 514 | return `Installed ${next.displayName}${versionFromTo(undefined, next.version)} ${sourcePhrase(sourceLabel)}`; |
| 515 | } |
no outgoing calls
no test coverage detected