(path: string)
| 15 | } |
| 16 | |
| 17 | export function normalizeSeparators(path: string): string { |
| 18 | // TODO: normalize path only for OS that need it. |
| 19 | return path.replace(/\\/g, '/'); |
| 20 | } |
| 21 | |
| 22 | /** |
| 23 | * Attempts to generate a project-relative path for a file. |