Remove extraneous params in Sprintf calls

This commit is contained in:
Matt Baer
2018-11-08 12:16:52 -05:00
parent 771d0a8d2f
commit 2e52b8cf55
2 changed files with 5 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ func Configure() error {
Success: "{{ . | bold | faint }}: ",
}
selTmpls := &promptui.SelectTemplates{
Selected: fmt.Sprintf(`{{.Label}} {{ . | faint }}`, promptui.IconGood),
Selected: fmt.Sprintf(`{{.Label}} {{ . | faint }}`),
}
prompt := promptui.Prompt{