( slug: string, plugins: ScoredReport['plugins'], )
| 236 | } |
| 237 | |
| 238 | export function getPluginNameFromSlug( |
| 239 | slug: string, |
| 240 | plugins: ScoredReport['plugins'], |
| 241 | ): string { |
| 242 | return ( |
| 243 | plugins.find(({ slug: pluginSlug }) => pluginSlug === slug)?.title || slug |
| 244 | ); |
| 245 | } |
| 246 | |
| 247 | function getSourceIdentifier(source: IssueSource): string { |
| 248 | return isFileSource(source) ? source.file : source.url; |
no outgoing calls
no test coverage detected