From d77af4ce1538f9da5e51e3ecb15a24bbe90358e5 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 26 Dec 2014 19:19:15 -0500 Subject: git-checkout-store: Use Print instead of Println for cmd output Since we're just outputting the output of `git-checkout`, there's already a newline at the end. We don't want to output an extra one, so just send the `git-checkout` output to the screen verbatim. --- git-checkout-store/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-checkout-store/main.go') diff --git a/git-checkout-store/main.go b/git-checkout-store/main.go index ae3ff27..3fd82f3 100644 --- a/git-checkout-store/main.go +++ b/git-checkout-store/main.go @@ -21,6 +21,6 @@ func main() { if err != nil { fmt.Fprintf(os.Stderr, err.Error()) } - fmt.Println(out.String()) + fmt.Print(out.String()) } } -- cgit v1.2.3