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 c150132 commit 1b42eacCopy full SHA for 1b42eac
src/main/kotlin/com/emberjs/glint/GlintLspSupportProvider.kt
@@ -77,10 +77,7 @@ class GlintLspServerDescriptor(private val myProject: Project) : LspServerDescri
77
return true
78
}
79
80
- val glintPkg = NodeModuleManager.getInstance(project).collectVisibleNodeModules(workingDir).find { it.name == "@glint/core" }?.virtualFile
81
- if (glintPkg == null) {
82
- return false
83
- }
+ val glintPkg = workingDir.findFileByRelativePath("node_modules/@glint/core") ?: return false
84
glintPkg.findFileByRelativePath("bin/glint-language-server.js") ?: return false
85
lastDir = workingDir
86
0 commit comments