From 09e2c89597afd31cb88f66c404cd7fc0b783238b Mon Sep 17 00:00:00 2001 From: Gregor Noczinski Date: Sat, 23 Jan 2016 12:01:49 +0100 Subject: [PATCH] * Changed the way how to return the result. Because of strange ci failure --- flag.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flag.go b/flag.go index 9cf562d..c8fb68b 100644 --- a/flag.go +++ b/flag.go @@ -350,9 +350,8 @@ func (f StringFlag) FormatValueHelp() string { s := f.Value if len(s) == 0 { return "" - } else { - return fmt.Sprintf("\"%s\"", s) } + return fmt.Sprintf("\"%s\"", s) } // Apply populates the flag given the flag set and environment