Skip to content

Commit

Permalink
Clean remote file path
Browse files Browse the repository at this point in the history
  • Loading branch information
arbourd committed Jul 25, 2019
1 parent 7ea8d1b commit 43bdc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func main() {
}
remote := args[0]

resp, err := download(path, remote)
resp, err := download(path, filepath.Clean(remote))
if err != nil {
fmt.Printf("Error: %s\n", err)
os.Exit(1)
Expand Down

0 comments on commit 43bdc5d

Please sign in to comment.