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:
|
linters-settings:
|
||||||
staticcheck:
|
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)
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue