Commit a4c43b0
committed
fix(scripts): route the census transpile through transpileChecked (#14957)
`check:parse-guard` caught a raw `ts.transpileModule` in the generator. The
raw call reports NOTHING on a source it could not read and still returns an
`outputText`, so an unparseable module would have been evaluated as whatever
survived and the census would have scored the tree against wreckage — with a
clean exit and a smaller, confident number.
That is this artefact's own failure class one layer down, so the fix is the
sanctioned wrapper rather than a diagnostics flag: `transpileChecked` forces
`reportDiagnostics: true` and refuses instead of emitting.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk1 parent 5629e6f commit a4c43b0
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | 114 | | |
| 115 | + | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
| |||
219 | 218 | | |
220 | 219 | | |
221 | 220 | | |
222 | | - | |
223 | | - | |
224 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
225 | 228 | | |
226 | 229 | | |
227 | 230 | | |
| |||
0 commit comments