File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/kotlin/com/emberjs/glint Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -219,15 +219,15 @@ class GlintLspServerDescriptor(private val myProject: Project) : LspServerDescri
219219
220220 override fun findLocalFileByPath (path : String ): VirtualFile ? {
221221 if (this .isWsl) {
222- val uri = this .wslDistro + path
222+ val uri = this .wslDistro.replace( " \\ " , " / " ) + path
223223 return super .findLocalFileByPath(uri)
224224 }
225225 return super .findLocalFileByPath(path)
226226 }
227227
228228 override fun findFileByUri (fileUri : String ): VirtualFile ? {
229229 if (this .isWsl) {
230- val uri = fileUri.replace(" file://" , " file://${this .wslDistro} " )
230+ val uri = fileUri.replace(" file://" , " file://${this .wslDistro.replace( " \\ " , " / " ) } " )
231231 return super .findFileByUri(uri)
232232 }
233233 return super .findFileByUri(fileUri)
You can’t perform that action at this time.
0 commit comments