chore(ci): update golangci lint v2.1.5 (#2615)

* chore(ci): update golangci-lint to v2.1.5 in ci.Dockerfile

* add golangci

* fix lint

* fix lint pkg/upgrade

* reenable lint
This commit is contained in:
Jo
2025-05-01 10:00:10 +02:00
committed by GitHub
parent b4a41700ee
commit b745f87210
18 changed files with 132 additions and 130 deletions

View File

@@ -43,7 +43,7 @@ func srcinfoExists(ctx context.Context,
return fmt.Errorf("unable to generate .SRCINFO: %w - %s", err, stderr)
}
if len(srcinfo) == 0 {
if srcinfo == "" {
return fmt.Errorf("generated .SRCINFO is empty, check your PKGBUILD for errors")
}