Skip to content

Commit

Permalink
Join using regular separators on the client, not OS-specific ones
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmarc committed Jun 22, 2018
1 parent 61a4041 commit e2c734b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (c *Client) walk(path string, walkFn filepath.WalkFunc) error {

sort.Strings(names)
for _, name := range names {
err = c.walk(filepath.Join(path, name), walkFn)
err = c.walk(filepath.ToSlash(filepath.Join(path, name)), walkFn)
if err != nil {
return err
}
Expand Down

0 comments on commit e2c734b

Please sign in to comment.