* Changed the way how to return the result. Because of strange ci failure
This commit is contained in:
parent
82ddbd9a07
commit
09e2c89597
3
flag.go
3
flag.go
@ -350,9 +350,8 @@ func (f StringFlag) FormatValueHelp() string {
|
|||||||
s := f.Value
|
s := f.Value
|
||||||
if len(s) == 0 {
|
if len(s) == 0 {
|
||||||
return ""
|
return ""
|
||||||
} else {
|
|
||||||
return fmt.Sprintf("\"%s\"", s)
|
|
||||||
}
|
}
|
||||||
|
return fmt.Sprintf("\"%s\"", s)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply populates the flag given the flag set and environment
|
// Apply populates the flag given the flag set and environment
|
||||||
|
Loading…
Reference in New Issue
Block a user