Skip to content

Commit

Permalink
add missing printf arg
Browse files Browse the repository at this point in the history
  • Loading branch information
vito committed Sep 11, 2018
1 parent cae534f commit b5cdd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion in_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func (c *InCommand) resolveTagToCommitSHA(tag string) (string, error) {
}

if *reference.Object.Type != "commit" {
fmt.Fprintf(c.writer, "could not resolve tag '%s' to commit: returned type is not 'commit' - only lightweight tags are supported\n")
fmt.Fprintf(c.writer, "could not resolve tag '%s' to commit: returned type is not 'commit' - only lightweight tags are supported\n", tag)
return "", err
}

Expand Down

0 comments on commit b5cdd2c

Please sign in to comment.