Commit dc92735
committed
Fixed typeprof.conf.json could not be loaded on VSCode on Windows
The problem was that the `url` processed by `uri_to_path` was like `c%3A/Users/shunh/vscode-typeprof-test`, and typeprof.conf.json could not be loaded.
This meant that TypeProf could be launched as an LSP, but the results of type analysis were not displayed on VSCode.
So, I changed that if `%3A` is included in the url returned by `uri_to_path`, it is replaced with `:`.1 parent 75082bb commit dc92735
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
| |||
0 commit comments