chore: use Go 1.26 (#26786)

This commit is contained in:
andig 2026-02-12 15:56:06 +01:00 • committed by GitHub
parent 88ecd6f152
commit 0ee6d787e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 96 additions and 122 deletions

View file

@ -92,8 +92,7 @@ func (p *Script) exec(script string) (string, error) {
if err != nil {
// use STDOUT if available
var ee *exec.ExitError
if errors.As(err, &ee) {
if ee, ok := errors.AsType[*exec.ExitError](err); ok {
s = strings.TrimSpace(string(ee.Stderr))
}