From bbe6c6fef16bcab6c2fc48a8aa1592aa14ed411c Mon Sep 17 00:00:00 2001 From: Alessio Date: Sat, 13 Jul 2024 23:05:31 -0700 Subject: [PATCH] Fix lint error --- cmd/twitter/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/twitter/helpers.go b/cmd/twitter/helpers.go index ac6a65c..a118279 100644 --- a/cmd/twitter/helpers.go +++ b/cmd/twitter/helpers.go @@ -39,7 +39,7 @@ func die(text string, display_help bool, exit_code int) { func happy_exit(text string, exit_err error) { if errors.Is(exit_err, scraper.ErrRateLimited) { fmt.Printf(terminal_utils.COLOR_YELLOW + text + terminal_utils.COLOR_RESET + "\n") - fmt.Printf(terminal_utils.COLOR_YELLOW + "Exiting early (%s)." + terminal_utils.COLOR_RESET + "\n", exit_err.Error()) + fmt.Printf(terminal_utils.COLOR_YELLOW+"Exiting early (%s)."+terminal_utils.COLOR_RESET+"\n", exit_err.Error()) os.Exit(1) } fmt.Printf(terminal_utils.COLOR_GREEN + text + terminal_utils.COLOR_RESET + "\n")