Skip to content

Commit

Permalink
fix string for local dir
Browse files Browse the repository at this point in the history
  • Loading branch information
davies committed Jul 7, 2021
1 parent 432f36a commit e62aa30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/object/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ type filestore struct {

func (d *filestore) String() string {
if runtime.GOOS == "windows" {
return "file:///" + d.root + "/"
return "file:///" + d.root
}
return "file://" + d.root + "/"
return "file://" + d.root
}

func (d *filestore) path(key string) string {
Expand Down

0 comments on commit e62aa30

Please sign in to comment.