Replace extra %w verbs with %v in fmt.Errorf
ProprietaryReplace all but the first %w with %v in fmt.Errorf format strings. Multiple error wrapping is invalid in Go < 1.20 and rare in later versions.
org. openrewrite. golang. codequality. AuditMultipleErrorWrapsmod run . --recipe= org. openrewrite. golang. codequality. AuditMultipleErrorWrapsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.