Skip to content

Commit

Permalink
Merge pull request #458 from civo/ann-error
Browse files Browse the repository at this point in the history
Silence annoying error
  • Loading branch information
uzaxirr authored Sep 3, 2024
2 parents a82859a + 411cf98 commit 5ee3977
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 5ee3977

Please sign in to comment.