Skip to content

Commit

Permalink
Merge pull request #1902 from franknstyle/deprecate-typrega
Browse files Browse the repository at this point in the history
deprecate TypeRegA
  • Loading branch information
franknstyle authored Mar 29, 2023
2 parents c771247 + ac4e77e commit 7c8e342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tarball/tarball.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func DecodeTarball(reader io.Reader, baseDir string) error {
if err := os.MkdirAll(filepath.Join(baseDir, name), os.FileMode(header.Mode)); err != nil {
return errors.Wrap(err, "error decoding tarball for result (mkdir)")
}
case tar.TypeReg, tar.TypeRegA:
case tar.TypeReg:
filePath := filepath.Join(baseDir, name)
// Directory should come first, but some tarballes are malformed
if err := os.MkdirAll(filepath.Dir(filePath), 0755); err != nil {
Expand Down

0 comments on commit 7c8e342

Please sign in to comment.