mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[starter eel] AT-1851 Init file system routing to WSL
GitOrigin-RevId: e29fef7f3df42d27cb38e3b8aedb61961dc2a2fd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ebb36f914a
commit
e1569442ee
@@ -45,10 +45,7 @@ fun CoroutineScope.registerIjentNioFs(ijent: IjentApi, root: String, internalNam
|
||||
|
||||
service.register(root, ijent.descriptor, internalName, true, false) { underlyingProvider, previousFs ->
|
||||
// Compute a path before custom fs registration. Usually should represent a non-existent local path
|
||||
val localPath = Path(root).also {
|
||||
// on WSL this path exists
|
||||
//check(!it.exists())
|
||||
}
|
||||
val localPath = Path(root).also { check(!it.exists()) }
|
||||
|
||||
IjentEphemeralRootAwareFileSystemProvider(
|
||||
root = localPath,
|
||||
|
||||
Reference in New Issue
Block a user