Skip to content

Commit 580e237

Browse files
authored
make optional
1 parent d9c4179 commit 580e237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class GlintLspServerDescriptor(private val myProject: Project) : LspServerDescri
9898
return true
9999
}
100100

101-
fun isAvailable(vfile: VirtualFile): Boolean {
101+
fun isAvailable(vfile?: VirtualFile): Boolean {
102102
val config = GlintConfiguration.getInstance(myProject)
103103
val pkg = config.getPackage()
104104
val path = pkg.`package`.constantPackage?.systemIndependentPath

0 commit comments

Comments
 (0)