This repository was archived by the owner on Nov 21, 2025. It is now read-only.
Commit d2336f0
fix: always use projSvc.getDefaultProjectForScriptInfo (#390)
`scriptInfo.getDefaultProject()` will throw if it does not have any containing project, thus it should not be used.
This could occur if only HTML file is opened in the editor, and `openClientFile()` does not return the
config file name.1 parent bf8586b commit d2336f0
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| |||
0 commit comments