Commit 452c501
committed
test(schematics): key the compile host on the path TypeScript asks for
The four "output compiles" specs failed on Windows only. `path.resolve` returns
backslashes there, TypeScript rewrites a root name's separators before asking the
compiler host for that file, and the host's exact-match comparison then missed its
own in-memory file. Every Windows job reported TS6053 for a file it had been handed.
Reproduced on macOS by keying the host on a backslash path, since TypeScript's
slash rewriting is not limited to Windows.1 parent 77a056f commit 452c501
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments