mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[starter eel] AT-1851 Support both WSL and Docker eel file system registration
GitOrigin-RevId: 2d0c5e849863a665c672c31491b967204bedaea2
This commit is contained in:
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,
|
||||
|
||||
Reference in New Issue
Block a user