From cae534fdd5d2d5f64b2d0294b1d7d53b86bd18ca Mon Sep 17 00:00:00 2001 From: Alex Suraci Date: Tue, 11 Sep 2018 16:26:29 -0400 Subject: [PATCH] fix Fprintln use --- in_command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/in_command.go b/in_command.go index 20b340e..7eb3ca7 100644 --- a/in_command.go +++ b/in_command.go @@ -210,7 +210,7 @@ func (c *InCommand) resolveTagToCommitSHA(tag string) (string, error) { } if *reference.Object.Type != "commit" { - fmt.Fprintln(c.writer, "could not resolve tag '%s' to commit: returned type is not 'commit' - only lightweight tags are supported") + fmt.Fprintf(c.writer, "could not resolve tag '%s' to commit: returned type is not 'commit' - only lightweight tags are supported\n") return "", err }