[starter eel] AT-1851 Init file system routing to WSL

GitOrigin-RevId: e29fef7f3df42d27cb38e3b8aedb61961dc2a2fd
This commit is contained in:
Nikita Kudrin
2025-02-06 16:13:21 +00:00
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,