Skip to content

Commit

Permalink
fix: archives should always use forward slash (#4116)
Browse files Browse the repository at this point in the history
extracted from #3795

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jun 16, 2023
1 parent ef3c42f commit bb33419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/archivefiles/archivefiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ func Eval(template *tmpl.Template, files []config.File) ([]config.File, error) {
return nil, err
}
result = append(result, config.File{
Source: file,
Destination: dst,
Source: filepath.ToSlash(file),
Destination: filepath.ToSlash(dst),
Info: f.Info,
})
}
Expand Down

0 comments on commit bb33419

Please sign in to comment.