Skip to content

Commit

Permalink
Small cleanup
Browse files Browse the repository at this point in the history
Suggested by @imjasonh

Signed-off-by: Elizabeth Myers <[email protected]>
  • Loading branch information
Elizafox committed Oct 11, 2023
1 parent 3ef5cc7 commit cbb16eb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkg/linter/linter.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,5 @@ func LintApk(ctx context.Context, path string, warn func(error), linters []strin

lctx := NewLinterContext(pkgname, apkfs)

err = lctx.LintPackageFs(apkfs, warn, linters)
if err != nil {
return err
}

return nil
return lctx.LintPackageFs(apkfs, warn, linters)
}

0 comments on commit cbb16eb

Please sign in to comment.