diff --git a/utils/utils.go b/utils/utils.go index 653481e..6ffdbff 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -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) }