Commit fe5ce2e
committed
docs(transpile): record the shared "child node via process.execPath" invariant
Both of the extension's child-Node spawns follow one invariant - launch via
process.execPath, never a bare "node" PATH lookup the host may not satisfy - but only
esbuild's path (through ensureNodeOnPath) documented it. Name node-runtime.ts as the
invariant's home and cross-reference it from the sslc compiler's fork, so the two sites
cannot silently diverge and the next reader finds one explanation.
A literal shared launcher was considered and rejected as premature abstraction: we own
sslc's fork but not esbuild's internal spawn, and the two sites are structurally unalike
(a process manager vs a one-line PATH tweak), so only the invariant is unified, not code.
Comment-only; no behavior change.1 parent 8bea7a5 commit fe5ce2e
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
0 commit comments