(platform: NodeJS.Platform, a: string, b: string)
| 73 | } |
| 74 | |
| 75 | export function equalPaths(platform: NodeJS.Platform, a: string, b: string) { |
| 76 | if (platform === 'linux') { |
| 77 | return a === b; |
| 78 | } |
| 79 | return a.toLowerCase() === b.toLowerCase(); |
| 80 | } |
| 81 | |
| 82 | export async function runCommandNoPty(options: { |
| 83 | exec: ExecFunction; |