Skip to content

Commit

Permalink
Silence annoying error
Browse files Browse the repository at this point in the history
  • Loading branch information
uzaxirr committed Sep 3, 2024
1 parent a82859a commit 411cf98
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utility/color_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"fmt"
"os"

"github.com/civo/cli/common"
"github.com/gookit/color"
)

Expand Down Expand Up @@ -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...))
}

Expand Down

0 comments on commit 411cf98

Please sign in to comment.