[starter eel] AT-1851 Support both WSL and Docker eel file system registration

GitOrigin-RevId: 2d0c5e849863a665c672c31491b967204bedaea2
This commit is contained in:
Nikita Kudrin
2025-02-06 10:14:05 +00:00
committed by intellij-monorepo-bot
parent 54d5ed2f26
commit 471222f0ba
@@ -43,7 +43,10 @@ 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 { check(!it.exists()) }
val localPath = Path(root).also {
// on WSL this path exists
//check(!it.exists())
}
IjentEphemeralRootAwareFileSystemProvider(
root = localPath,