Skip to content

Commit

Permalink
fix: fix test cases
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed Mar 15, 2024
1 parent 18abd37 commit 22335e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/path/path_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ var NeedToSanitize map[rune]bool

func init() {
NeedToSanitize = map[rune]bool{
'<': true, '>': true, ':': true, '"': true,
'/': true, '\\': true, '|': true, '?': true, '*': true,
'<': true, '>': true, ':': true, '"': true, '|': true, '?': true, '*': true,
}
}

Expand Down Expand Up @@ -44,5 +43,6 @@ func SanitizePath(path string) string {
}
return r
}, NeedToSanitize)

return volumeName + sanitized
}

0 comments on commit 22335e0

Please sign in to comment.