Commit c2587f6
committed
test(cli): declare the tsc child's environment in the scaffold typecheck pin
`check:cli-test-child-env` (#11595) requires every spawn under
`packages/cli/test/**` to declare its child's `env`, so that what the
child inherits is legible at the call site instead of being the vitest
worker's environment by default. The new pin's `spawnSync` passed an
options object with no `env` key and the gate named it.
Routed through `childEnv()`, this directory's choke point, with
`NO_COLOR` to match the `--pretty false` already passed to tsc.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D47qPfEWVPmhguWgBZCi5N1 parent 8f6d9ab commit c2587f6
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
123 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
124 | 134 | | |
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
128 | 138 | | |
129 | | - | |
| 139 | + | |
130 | 140 | | |
131 | 141 | | |
132 | 142 | | |
| |||
0 commit comments