DS-3620 Don't send remote Jupyter server modules on the start of Python console

GitOrigin-RevId: b0035e80011300b34331282b21cfe2f06645d8d8
This commit is contained in:
Anton Bragin
2022-07-01 16:26:17 +00:00
committed by intellij-monorepo-bot
parent 20f34d84c3
commit 92ebf13eaf
@@ -226,7 +226,11 @@ fun TargetEnvironmentRequest.ensureProjectAndModuleDirsAreOnTarget(project: Proj
}
for(module in modules) {
ModuleRootManager.getInstance(module).contentRoots.forEach {
addPathToVolume(it.toNioPath())
try {
addPathToVolume(it.toNioPath())
}
catch (_: UnsupportedOperationException) {
}
}
}
project.basePath?.let { addPathToVolume(Path.of(it)) }