Commit bcbb0ea
committed
fix(check): resolve check-paths.mts via absolute path
The path-hygiene check invoked the gate via a relative `scripts/check-paths.mts`
path. When `pnpm run check` runs from a workspace package's cwd
(e.g. packages/cli), Node fails to resolve the gate file. All other
spawn calls in check.mts already used `path.join(scriptsDir, ...)`;
this one was inconsistent.
Now passes an absolute gate path AND sets `cwd: repoRoot` so the
gate's allowlist YAML and segment imports resolve correctly.1 parent bc64815 commit bcbb0ea
1 file changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
| |||
0 commit comments