( projectRoot: string, filePath: string, )
| 31 | } |
| 32 | |
| 33 | export function getProjectPathLookupKeys( |
| 34 | projectRoot: string, |
| 35 | filePath: string, |
| 36 | ): string[] { |
| 37 | const resolvedPath = resolveFilePathWithinProject(projectRoot, filePath) |
| 38 | const keys = resolvedPath ? [resolvedPath.relativePath, filePath] : [filePath] |
| 39 | |
| 40 | return [...new Set(keys)] |
| 41 | } |
no test coverage detected