Skip to content
Snippets Groups Projects
Commit 82c92e00 authored by Abubakr-Sadik Nii Nai Davis's avatar Abubakr-Sadik Nii Nai Davis
Browse files

Change function name to be clearer about the fact it returns a string.

parent f88de572
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ func printWarn(msg string) { ...@@ -28,7 +28,7 @@ func printWarn(msg string) {
) )
} }
func printfWarn(msg string) string { func printWarn(msg string) string {
return fmt.Sprintf("[%s] %s", return fmt.Sprintf("[%s] %s",
colors[check.WARN].Sprintf("%s", check.WARN), colors[check.WARN].Sprintf("%s", check.WARN),
msg, msg,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment