We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3190635 commit b9b6fa9Copy full SHA for b9b6fa9
src/main/kotlin/com/emberjs/glint/GlintLspSupportProvider.kt
@@ -75,7 +75,6 @@ class GlintLspServerDescriptor(private val myProject: Project) : LspServerDescri
75
76
fun isAvailableFromDir(file: VirtualFile): Boolean {
77
val workingDir = file
78
- var isWsl = false
79
if (workingDir.path.contains("wsl.localhost") || workingDir.path.contains("wsl\$")) {
80
isWsl = true
81
}
@@ -108,7 +107,7 @@ class GlintLspServerDescriptor(private val myProject: Project) : LspServerDescri
108
107
if (path != null) {
109
val f = VfsUtil.findFile(Path(path), true)
110
111
- if (f != null) {
+ if (f != null && f.exists()) {
112
return true
113
114
0 commit comments