From a2304c1f07f47a2181f31af29e91ad3650d688c8 Mon Sep 17 00:00:00 2001 From: Thomas Renger Date: Mon, 6 Nov 2023 17:56:10 +0100 Subject: [PATCH] fmt.Fprintf does not support error-wrapping directive %w --- cmd/drone-helm/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/drone-helm/main.go b/cmd/drone-helm/main.go index 7c6e3ff..681a9f8 100644 --- a/cmd/drone-helm/main.go +++ b/cmd/drone-helm/main.go @@ -20,7 +20,7 @@ func main() { // Make the plan plan, err := helm.NewPlan(*cfg) if err != nil { - fmt.Fprintf(os.Stderr, "%w\n", err) + fmt.Fprintf(os.Stderr, "%v\n", err) os.Exit(1) }