Skip to content

Commit

Permalink
Merge pull request #557 from jp7677/invariant-separators
Browse files Browse the repository at this point in the history
Use invariant path separators
  • Loading branch information
jp7677 committed Jul 3, 2024
2 parents 8065918 + 35ad4e6 commit 5090cc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ fun String.asUrlToFile(relativeTo: String): String =
if (relativeTo == this) "."
else File(this)
.relativeTo(File(relativeTo))
.toString()
.invariantSeparatorsPath

0 comments on commit 5090cc1

Please sign in to comment.