diff --git a/python/openapi/src/com/jetbrains/python/PathShortener.kt b/python/openapi/src/com/jetbrains/python/PathShortener.kt index 9b09c1567c3b..19fdda2a92a5 100644 --- a/python/openapi/src/com/jetbrains/python/PathShortener.kt +++ b/python/openapi/src/com/jetbrains/python/PathShortener.kt @@ -11,6 +11,7 @@ import com.intellij.platform.eel.provider.getEelDescriptor import com.jetbrains.python.PathShortener.Companion.create import org.jetbrains.annotations.ApiStatus import java.nio.file.Path +import kotlin.io.path.pathString /** * Replaces homepath with tilda and some well-known Windows vars as well. @@ -58,10 +59,13 @@ class PathShortener private constructor(private val map: List