mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
chore: fix go linter
This commit is contained in:
parent
298360fff1
commit
b83569f393
@ -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 New Issue
Block a user