Commit 82c9d38
committed
fix: handle case-insensitive PATH variable on Windows
- Use strings.EqualFold for case-insensitive PATH detection
- Windows environment variables are case-insensitive (PATH vs Path)
- Fixes Windows CI test failure in TestRustCompiler_GetRustEnv_WithBothHomes1 parent 445ae8b commit 82c9d38
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
| 322 | + | |
321 | 323 | | |
322 | | - | |
323 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
324 | 327 | | |
325 | 328 | | |
326 | 329 | | |
| |||
0 commit comments