summaryrefslogtreecommitdiff
path: root/src/jsMain/kotlin/io/Path.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/jsMain/kotlin/io/Path.kt')
-rw-r--r--src/jsMain/kotlin/io/Path.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsMain/kotlin/io/Path.kt b/src/jsMain/kotlin/io/Path.kt
index 8f77203..f486581 100644
--- a/src/jsMain/kotlin/io/Path.kt
+++ b/src/jsMain/kotlin/io/Path.kt
@@ -68,7 +68,7 @@ sealed interface Path {
}
partList.add(part)
}
- Relative(List(returns) { "" } + partList)
+ Relative(List(returns) { ".." } + partList)
}
}
}