chore: fix go linter

This commit is contained in:
Alexandre Pujol 2023-05-06 13:29:55 +01:00
parent 298360fff1
commit b83569f393
Failed to generate hash of commit
2 changed files with 2 additions and 2 deletions

View file

@ -2,4 +2,4 @@
linters-settings:
staticcheck:
checks: ["all", "-SA1019" ]
checks: ["all", "-SA1019", "-SA4009" ]

View file

@ -44,7 +44,7 @@ func ExtratTo(src *paths.Path, dst *paths.Path, subfolders []string) error {
}
tarIn := tar.NewReader(in)
for true {
for {
header, err := tarIn.Next()
if err == io.EOF {
break