Skip to content

Commit

Permalink
fix CI error
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyYe committed Oct 4, 2018
1 parent e367a20 commit 5787f95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ func IsEmpty(path string) (bool, error) {
return false, err
}

// Fatalf output formatted fatal error info
func Fatalf(format string, args ...interface{}) {
msg := fmt.Sprintf(format, args...)
color.New(color.FgRed).Fprintf(os.Stderr, "%s %s", CrossSymbol, msg)
Expand Down

0 comments on commit 5787f95

Please sign in to comment.