(output: string)
| 29 | const defaultExecSync: ExecSyncFn = (command, options) => execSync(command, options); |
| 30 | |
| 31 | function parseWhereOutput(output: string): string[] { |
| 32 | return output |
| 33 | .split(/\r?\n/) |
| 34 | .map((line) => line.trim()) |
| 35 | .filter((line) => line.length > 0); |
| 36 | } |
| 37 | |
| 38 | function isWslLauncherPath(p: string): boolean { |
| 39 | const normalized = WIN_PATH.normalize(p).toLowerCase(); |