From b03cecb28e12d6dc6f53fe22ab7253b6479098cb Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Thu, 4 May 2023 12:01:19 -0700 Subject: [PATCH] Add newline to git-version helper command --- helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.go b/helpers.go index 35bb8cc..c409226 100644 --- a/helpers.go +++ b/helpers.go @@ -244,7 +244,7 @@ func gitVersionCmd(hc interp.HandlerContext, cmd string, args []string) error { hash := HEAD.Hash().String() - fmt.Fprintf(hc.Stdout, "%d.%s", revNum, hash[:7]) + fmt.Fprintf(hc.Stdout, "%d.%s\n", revNum, hash[:7]) return nil }