Skip to content

Commit b5542bb

Browse files
committed
fix test
1 parent d09d662 commit b5542bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/Paket.Core/Common/Utils.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ let inline normalizeHomeDirectory (path : string) =
382382
let homeDirectory = "~"
383383
if path.StartsWith homeDirectory then
384384
let path = path.Substring(1)
385-
let path = if path.StartsWith "\\" then path.Substring(1) else path
385+
let path = if path.StartsWith "\\" || path.StartsWith "/" then path.Substring(1) else path
386386
Path.Combine(GetHomeDirectory(),path)
387387
else
388388
path

0 commit comments

Comments
 (0)