From 921eaff367c3857ac75c8b7dd07dfc5777838c9c Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Tue, 26 Nov 2024 17:45:42 +0100 Subject: [PATCH] chore(output): Version should be printed in stdout It seems that "println" failed to write on stdout --- cmd/katenary/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/katenary/main.go b/cmd/katenary/main.go index bcdf2ba..dc0c9ca 100644 --- a/cmd/katenary/main.go +++ b/cmd/katenary/main.go @@ -233,7 +233,7 @@ func generateVersionCommand() *cobra.Command { Use: "version", Short: "Print the version number of Katenary", Run: func(cmd *cobra.Command, args []string) { - println(generator.GetVersion()) + fmt.Println(generator.GetVersion()) }, } }