Commit b971888
committed
fix(scripts): fail update-export-versions if snapshot update fails
The script was silently swallowing errors when snapshot updates failed,
causing versions.ts to be committed without matching snapshots. This led
to CI failures in the coverage workflow.
Now the script exits with code 1 if snapshot update fails, preventing
the mismatched state from being committed.1 parent fbc8ecd commit b971888
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
| 102 | + | |
| 103 | + | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
| |||
0 commit comments