(entry: string, platform: NodeJS.Platform)
| 93 | trimNonEmpty(env.PATH ?? env.Path ?? env.path); |
| 94 | |
| 95 | const pathComparisonKey = (entry: string, platform: NodeJS.Platform) => { |
| 96 | const normalized = entry.trim().replace(/^"+|"+$/g, ""); |
| 97 | return platform === "win32" ? normalized.toLowerCase() : normalized; |
| 98 | }; |
| 99 | |
| 100 | const mergePaths = ( |
| 101 | platform: NodeJS.Platform, |