Update golangci-lint to v2.6.2

This commit is contained in:
Ciprian Hacman
2025-11-29 10:27:41 +02:00
parent b0d347e262
commit 2e69489cc6
16 changed files with 14 additions and 16 deletions

View File

@@ -154,7 +154,7 @@ func (p *Plugin) run(rule cpmtypes.CustomRule) (exitStatus cpmtypes.Status, outp
}
defer cancel()
cmd := util.Exec(rule.Path, rule.Args...)
cmd := util.Exec(ctx, rule.Path, rule.Args...)
stdoutPipe, err := cmd.StdoutPipe()
if err != nil {