From a15a106fd3d7c44a658b74a0b3ea16e86a54814e Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Tue, 28 Jul 2020 10:39:29 -0500 Subject: [PATCH] Add a trailing newline to our CLI error output. Signed-off-by: Matt Moyer --- cmd/placeholder-name/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/placeholder-name/main.go b/cmd/placeholder-name/main.go index 93466944..e6f5d881 100644 --- a/cmd/placeholder-name/main.go +++ b/cmd/placeholder-name/main.go @@ -22,7 +22,7 @@ import ( func main() { err := run(os.LookupEnv, client.ExchangeToken, os.Stdout, 30*time.Second) if err != nil { - _, _ = fmt.Fprintf(os.Stderr, "%s", err.Error()) + _, _ = fmt.Fprintf(os.Stderr, "%s\n", err.Error()) os.Exit(1) } }