From e1436d29c48cdfe4b557640237c6ed95c4d3b272 Mon Sep 17 00:00:00 2001 From: Mark Wolfe Date: Mon, 11 Dec 2017 08:54:59 +1100 Subject: [PATCH] fix(Prompt) Removed extra \n which broke the output. fixes #100 --- pkg/prompter/prompter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/prompter/prompter.go b/pkg/prompter/prompter.go index e51cace72..781a82723 100644 --- a/pkg/prompter/prompter.go +++ b/pkg/prompter/prompter.go @@ -20,7 +20,7 @@ func NewCli() Prompter { // RequestSecurityCode request a security code to be entered by the user func (cli *CliPrompter) RequestSecurityCode(pattern string) string { - return prompt.StringRequired("\nSecurity Token [%s]\n", pattern) + return prompt.StringRequired("\nSecurity Token [%s]", pattern) } // Choice given the choice return the option selected