* Changed the way how to return the result. Because of strange ci failure

This commit is contained in:
Gregor Noczinski 2016-01-23 12:01:49 +01:00
parent 82ddbd9a07
commit 09e2c89597

View File

@ -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