Skip to content

Commit 2fe8d73

Browse files
authored
fix glint res (#251)
* fix glint res * fix upload
1 parent c150132 commit 2fe8d73

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,5 +167,5 @@ jobs:
167167
- uses: actions/upload-artifact@v4
168168
with:
169169
name: EmberExperimental.zip
170-
path: ./build/distributions/EmberExperimental.js-*.zip
170+
path: ./build/distributions/intellij-emberjs-experimental*.zip
171171

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,7 @@ class GlintLspServerDescriptor(private val myProject: Project) : LspServerDescri
7777
return true
7878
}
7979
}
80-
val glintPkg = NodeModuleManager.getInstance(project).collectVisibleNodeModules(workingDir).find { it.name == "@glint/core" }?.virtualFile
81-
if (glintPkg == null) {
82-
return false
83-
}
80+
val glintPkg = workingDir.findFileByRelativePath("node_modules/@glint/core") ?: return false
8481
glintPkg.findFileByRelativePath("bin/glint-language-server.js") ?: return false
8582
lastDir = workingDir
8683
return true

0 commit comments

Comments
 (0)