File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/kotlin/com/emberjs/glint Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,6 @@ class GlintLspServerDescriptor(private val myProject: Project) : LspServerDescri
139139
140140 fun getGlintVersion (): String? {
141141 val workingDir = lastDir!!
142- val workDirectory = VfsUtilCore .virtualToIoFile(workingDir)
143142 var path = workingDir.findFileByRelativePath(" node_modules/@glint/core/package.json" ) ? : return null
144143 return PackageJsonData .getOrCreate(path).version?.rawVersion
145144 }
@@ -152,7 +151,7 @@ class GlintLspServerDescriptor(private val myProject: Project) : LspServerDescri
152151 val pkg = config.getPackage()
153152 val pkgPath = pkg.`package`.constantPackage?.systemIndependentPath
154153 if (pkgPath != null && File (pkgPath).exists()) {
155- path = File (pkgPath).parentFile.parentFile.path
154+ path = File (pkgPath).parentFile.parentFile.parentFile. path
156155 }
157156 path = path.replace(" \\ " , " /" )
158157 this .isWsl = false
You can’t perform that action at this time.
0 commit comments