( audit: AuditReport, plugin: PluginMeta, )
| 67 | } |
| 68 | |
| 69 | function getAuditIssues( |
| 70 | audit: AuditReport, |
| 71 | plugin: PluginMeta, |
| 72 | ): SourceFileIssue[] { |
| 73 | return ( |
| 74 | audit.details?.issues |
| 75 | ?.filter(isFileIssue) |
| 76 | .map(issue => ({ ...issue, audit, plugin })) ?? [] |
| 77 | ); |
| 78 | } |
| 79 | |
| 80 | export function issuesMatch( |
| 81 | prev: SourceFileIssue, |
no outgoing calls
no test coverage detected