Skip to content

Commit d166f05

Browse files
committed
fix cp remote->remote
1 parent 70565c2 commit d166f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cli/cp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func extractHost(endpoint string) string {
2121
}
2222

2323
func removeSlashes(input string) string {
24-
return strings.ReplaceAll(input, fmt.Sprintf("%v", os.PathSeparator), "")
24+
return strings.ReplaceAll(input, fmt.Sprintf("%c", os.PathSeparator), "")
2525
}
2626

2727
func extractPath(endpoint string) string {

0 commit comments

Comments
 (0)