Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
fix PrintCyan func
Browse files Browse the repository at this point in the history
  • Loading branch information
martinnirtl committed Feb 8, 2020
1 parent 4f8dd5e commit b47b765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ func Println(text string) {
}

// PrintCyan colors text in cyan
func PrintCyan(text string) {
fmt.Printf("%s%s%s", chalk.Cyan, text, chalk.ResetColor)
func PrintCyan(text string) string {
return fmt.Sprintf("%s%s%s", chalk.Cyan, text, chalk.ResetColor)
}

// Abort prints 'Aborted.' to std out and exits process with 0
Expand Down

0 comments on commit b47b765

Please sign in to comment.