From 82c92e00780f5469138920d37a1ad8262bdff160 Mon Sep 17 00:00:00 2001 From: Abubakr-Sadik Nii Nai Davis Date: Sun, 6 Aug 2017 14:25:02 +0000 Subject: [PATCH] Change function name to be clearer about the fact it returns a string. --- cmd/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/util.go b/cmd/util.go index 88df3a7..26e7441 100644 --- a/cmd/util.go +++ b/cmd/util.go @@ -28,7 +28,7 @@ func printWarn(msg string) { ) } -func printfWarn(msg string) string { +func printWarn(msg string) string { return fmt.Sprintf("[%s] %s", colors[check.WARN].Sprintf("%s", check.WARN), msg,