Commit 353bfe7
committed
fix(language_server): check if tsconfig path is a file before starting the
`with_tsconfig()` has a debug assertion that the path is a file.
This was missing on the language server side and did silently fail on the VSCode tests.
https://github.com/oxc-project/oxc/blob/1337811da61a7b30b7a41292b6ad449ee6a168bb/crates/oxc_linter/src/service/mod.rs#L34-L45
<img width="1533" height="341" alt="screenshot of the test panic" src="https://github.com/user-attachments/assets/4cdb6391-9160-4642-a9c3-e196d8712f12" />LintService (#14126)1 parent 0029b7f commit 353bfe7
File tree
2 files changed
+8
-5
lines changed- crates/oxc_language_server/src/linter
2 files changed
+8
-5
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
0 commit comments