Skip to content

Commit 9d9dee4

Browse files
authored
Merge pull request #256 from covexo/package-fixes
Fix issue with devspace package add
2 parents 8b51f98 + a34c880 commit 9d9dee4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/util/tar/tar.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ func ExtractSingleFileTarGz(archivepath, fileToExtract, extractToPath string) er
4040

4141
name := header.Name
4242
if name == fileToExtract {
43-
if header.Typeflag != tar.TypeReg {
44-
return fmt.Errorf("%s is a directory and not a file", fileToExtract)
45-
}
43+
// if header.Typeflag != tar.TypeReg {
44+
// return fmt.Errorf("%s is a directory and not a file", fileToExtract)
45+
// }
4646

4747
outFile, err := os.Create(extractToPath)
4848
if err != nil {

0 commit comments

Comments
 (0)