Skip to content

Commit e2c734b

Browse files
committed
Join using regular separators on the client, not OS-specific ones
1 parent 61a4041 commit e2c734b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

walk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func (c *Client) walk(path string, walkFn filepath.WalkFunc) error {
4242

4343
sort.Strings(names)
4444
for _, name := range names {
45-
err = c.walk(filepath.Join(path, name), walkFn)
45+
err = c.walk(filepath.ToSlash(filepath.Join(path, name)), walkFn)
4646
if err != nil {
4747
return err
4848
}

0 commit comments

Comments
 (0)