Skip to content

Commit

Permalink
Update s3.go
Browse files Browse the repository at this point in the history
  • Loading branch information
arilotter authored Aug 10, 2022
1 parent 58da659 commit 430405f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (s *S3Upload) sourceFiles() ([]*FileData, error) {
destPath := filepath.Join("/", hashPrefix, s.Config.S3.Prefix, cpath)
// Normalize path separators on the S3 side to a forward slashm, for OSes like Windows.
if os.PathSeparator != '/' {
destPath = strings.Replace(destPath, string(os.PathSeparator), "/")
destPath = strings.Replace(destPath, string(os.PathSeparator), "/", -1)
}

// Add to the list of files to upload
Expand Down

0 comments on commit 430405f

Please sign in to comment.