We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70565c2 commit d166f05Copy full SHA for d166f05
internal/cli/cp.go
@@ -21,7 +21,7 @@ func extractHost(endpoint string) string {
21
}
22
23
func removeSlashes(input string) string {
24
- return strings.ReplaceAll(input, fmt.Sprintf("%v", os.PathSeparator), "")
+ return strings.ReplaceAll(input, fmt.Sprintf("%c", os.PathSeparator), "")
25
26
27
func extractPath(endpoint string) string {
0 commit comments