From 99210ce88107eb69fb19710c173c25fb5bb8b61f Mon Sep 17 00:00:00 2001 From: Andrew Peabody Date: Wed, 14 Aug 2024 10:28:07 -0700 Subject: [PATCH] Update cmd.go --- cli/bpmetadata/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/bpmetadata/cmd.go b/cli/bpmetadata/cmd.go index c7f6f96ca6c..52146513e01 100644 --- a/cli/bpmetadata/cmd.go +++ b/cli/bpmetadata/cmd.go @@ -127,7 +127,7 @@ func generate(cmd *cobra.Command, args []string) error { } if len(errors) > 0 { - return fmt.Errorf(strings.Join(errors, "\n")) + return fmt.Errorf("%s", strings.Join(errors, "\n")) } Log.Info("metadata generated successfully")