(filePath: string, cwd: string)
| 109 | } |
| 110 | |
| 111 | export const toRelativePath = (filePath: string, cwd: string) => { |
| 112 | const relativePath = path.relative(cwd, filePath).toPosix() |
| 113 | return filePath.endsWith("/") ? relativePath + "/" : relativePath |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Strategy used to resolve the workspace root in a multi-root workspace. |
no test coverage detected