From 411cf982363d8886a1bccb525ff32ee1b64beb03 Mon Sep 17 00:00:00 2001 From: Uzair Ali <72073401+uzaxirr@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:16:23 +0530 Subject: [PATCH] Silence annoying error --- utility/color_util.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/utility/color_util.go b/utility/color_util.go index f85ffc2d..7dce59aa 100644 --- a/utility/color_util.go +++ b/utility/color_util.go @@ -4,7 +4,6 @@ import ( "fmt" "os" - "github.com/civo/cli/common" "github.com/gookit/color" ) @@ -46,7 +45,6 @@ func Red(value string) string { // Error is the function to handler all error in the Cli func Error(msg string, args ...interface{}) { - common.IssueMessage() fmt.Fprintf(os.Stderr, "%s: %s\n", color.Red.Sprintf("Error"), fmt.Sprintf(msg, args...)) }