Commit 533df24
ci(windows): generate_win.bat — fail loudly when MSYS2 isn't installed (#6082)
Before: when `%MSYS2_DIR%` doesn't exist, the script printed an error
message and then exited 0, so callers (CI workflows, devs) thought
binding generation succeeded with no output.
After: print the error and `exit /b 1`. De-nest the success path so
the success branch is the script's normal flow rather than the
`else` branch of the missing-MSYS2 check.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4c52126 commit 533df24
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
21 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments