Commit 8ffaf2c
committed
ts_project_worker: default-initialize tsc outDir
Some time ago, the tsc_project macro changed behavior.
Before, `out_dir` would always be set, whereas now it may be `None`.
If `out_dir` is unset, this expression will result in an incorrect
output directory being used:
```
host.optionsToExtend.outDir = `${host.optionsToExtend.outDir}/${SYNTHETIC_OUTDIR}`;
```
(Would result in `'undefined/__st_outdir__'`).1 parent 419df90 commit 8ffaf2c
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
707 | 714 | | |
708 | 715 | | |
709 | 716 | | |
| |||
0 commit comments