mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-23 21:46:44 +01:00
chore: fix go linter
This commit is contained in:
parent
298360fff1
commit
b83569f393
2 changed files with 2 additions and 2 deletions
|
@ -2,4 +2,4 @@
|
|||
|
||||
linters-settings:
|
||||
staticcheck:
|
||||
checks: ["all", "-SA1019" ]
|
||||
checks: ["all", "-SA1019", "-SA4009" ]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue