Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
fix: spread array over interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Jan 28, 2020
1 parent 061eea5 commit e7db61e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ func ProcessCustomClaimInput(input map[string]string) map[string]interface{} {

// StdOutError print an error message to the standard out
func StdOutError(format string, a ...interface{}) {
m := aurora.Sprintf(aurora.Red(format), a)
m := aurora.Sprintf(aurora.Red(format), a...)
fmt.Fprintf(os.Stdout, "%s\n", m)
}

// StdOutSuccess print a success message to the standard out
func StdOutSuccess(format string, a ...interface{}) {
m := aurora.Sprintf(aurora.Green(format), a)
m := aurora.Sprintf(aurora.Green(format), a...)
fmt.Fprintf(os.Stdout, "%s\n", m)
}

Expand Down

0 comments on commit e7db61e

Please sign in to comment.