chore: fix go linter

This commit is contained in:
Alexandre Pujol 2023-05-06 13:29:55 +01:00
parent 298360fff1
commit b83569f393
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,4 @@
linters-settings: linters-settings:
staticcheck: 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) tarIn := tar.NewReader(in)
for true { for {
header, err := tarIn.Next() header, err := tarIn.Next()
if err == io.EOF { if err == io.EOF {
break break