update linter settings (#4790)

This commit is contained in:
Alessandro Ros 2025-07-26 16:44:32 +02:00 committed by GitHub
parent 7ac752097b
commit d423a71aaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 320 additions and 225 deletions

View file

@ -35,12 +35,12 @@ func (e *Cmd) runOSSpecific(env []string) error {
cmdDone := make(chan int)
go func() {
cmdDone <- func() int {
err := cmd.Wait()
if err == nil {
err2 := cmd.Wait()
if err2 == nil {
return 0
}
var ee *exec.ExitError
if errors.As(err, &ee) {
if errors.As(err2, &ee) {
ee.ExitCode()
}
return 0