mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ijent] Instantiate IjentPath a bit later
GitOrigin-RevId: c10b097e2f84af034e24ddc8509a049b5ea9d07a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
47561c37a8
commit
02f5dabc31
+2
-2
@@ -186,9 +186,8 @@ private suspend fun tryInitializeEelOnWsl(project: Project) = coroutineScope {
|
||||
|
||||
val projectFile = project.projectFilePath
|
||||
check(projectFile != null) { "Impossible: project is not default, but it does not have project file" }
|
||||
val path = Path.of(projectFile)
|
||||
|
||||
if (!WslPath.isWslUncPath(path.toString())) {
|
||||
if (!WslPath.isWslUncPath(projectFile)) {
|
||||
return@coroutineScope
|
||||
}
|
||||
|
||||
@@ -200,6 +199,7 @@ private suspend fun tryInitializeEelOnWsl(project: Project) = coroutineScope {
|
||||
serviceAsync<WslDistributionManager>().installedDistributions
|
||||
}
|
||||
|
||||
val path = Path.of(projectFile)
|
||||
for (distro in allWslDistributions.await()) {
|
||||
val matches =
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user