File tree Expand file tree Collapse file tree
platform/configuration-store-impl/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -293,10 +293,10 @@ open class ProjectStoreImpl(final override val project: Project) : ComponentStor
293293 private fun getMachineWorkspacePath (storeDescriptor : ProjectStoreDescriptor ): Path ? {
294294 val projectPath = storeDescriptor.historicalProjectBasePath
295295 if (projectPath.fileSystem != FileSystems .getDefault()) return null
296- val machine = projectPath.asEelPath().descriptor.machine
297- if (machine is LocalEelMachine ) return null
296+ val descriptor = projectPath.asEelPath().descriptor
297+ if (descriptor:: class .simpleName != " DockerEelDescriptor " ) return null
298298 val pathHash = FileUtilRt .pathHashCode(projectBasePath.invariantSeparatorsPathString)
299- return PathManager .getOriginalConfigDir().resolve(" $CONFIG_WORKSPACE_DIR /${sanitizeFileName(machine.name)} .${pathHash.toHexString()} .xml" )
299+ return PathManager .getOriginalConfigDir().resolve(" $CONFIG_WORKSPACE_DIR /${sanitizeFileName(descriptor. machine.name)} .${pathHash.toHexString()} .xml" )
300300 }
301301}
302302
You can’t perform that action at this time.
0 commit comments