Skip to content

Commit 7823d6f

Browse files
committed
fix glint check
1 parent fe834f8 commit 7823d6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/com/emberjs/glint/GlintLspSupportProvider.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ class GlintLspServerDescriptor(private val myProject: Project) : LspServerDescri
107107
pkg.readOrDetect()
108108
val path = pkg.`package`.constantPackage?.systemIndependentPath
109109
if (path != null) {
110-
val f = VfsUtil.findFile(Path(path), true)
110+
var f = VfsUtil.findFile(Path(path), true)
111+
f = f?.findFileByRelativePath("bin/glint-language-server.js")
111112

112113
if (f != null) {
113114
return true

0 commit comments

Comments
 (0)