Skip to content

Commit f67f813

Browse files
authored
Merge pull request #489 from dlorenc/toslash
Add files to the context tarball with Unix separators.
2 parents 13db30b + edd96d9 commit f67f813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/skaffold/util/tar.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func CreateTar(w io.Writer, root string, paths []string) error {
4646
return err
4747
}
4848

49-
if err := addFileToTar(p, tarPath, tw); err != nil {
49+
if err := addFileToTar(p, filepath.ToSlash(tarPath), tw); err != nil {
5050
return err
5151
}
5252

0 commit comments

Comments
 (0)