Commit c13c0038 authored by Anton Bragin's avatar Anton Bragin Committed by intellij-monorepo-bot
Browse files

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

(cherry picked from commit b0035e80011300b34331282b21cfe2f06645d8d8)

IJ-CR-26693

GitOrigin-RevId: 7a04c321e2f6d72f44100c69ec96c80c6c5edfb5
parent 9e17d50d
Showing with 5 additions and 1 deletion
+5 -1
......@@ -227,7 +227,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)) }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment