From 5453b71fd1ff6435867eee1093fee48af5b41dd3 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 11 Apr 2021 23:40:03 +1000 Subject: [PATCH] linting --- pkg/gui/command_log_panel.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkg/gui/command_log_panel.go b/pkg/gui/command_log_panel.go index 2f9abff3b..2558e969e 100644 --- a/pkg/gui/command_log_panel.go +++ b/pkg/gui/command_log_panel.go @@ -46,13 +46,11 @@ func (gui *Gui) printCommandLogHeader() { ) fmt.Fprintln(gui.Views.Extras, utils.ColoredString(introStr, color.FgCyan)) - fmt.Fprint( + fmt.Fprintf( gui.Views.Extras, - fmt.Sprintf( - "%s: %s", - utils.ColoredString(gui.Tr.RandomTip, color.FgYellow), - utils.ColoredString(gui.getRandomTip(), color.FgGreen), - ), + "%s: %s", + utils.ColoredString(gui.Tr.RandomTip, color.FgYellow), + utils.ColoredString(gui.getRandomTip(), color.FgGreen), ) }