Commit deacb61
committed
Fix resolving a tsconfig directory to a file path
When a project is configured with its tsconfig pointing to a directory
rather than a file, it needs to be resolved to a file before trying to
read the contents of the file.
Fixes #481.
I've raised this as an upstream issue too via
volarjs/volar.js#283.1 parent bf88035 commit deacb61
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
| |||
0 commit comments