mirror of
https://github.com/vbatts/go-mtree.git
synced 2025-07-15 11:19:11 +00:00
go: go get -u ./... && go mod vendor && go mod tidy
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
a9c6969125
commit
e73ff94ef9
162 changed files with 1835 additions and 2997 deletions
6
vendor/github.com/urfave/cli/v2/flag_string.go
generated
vendored
6
vendor/github.com/urfave/cli/v2/flag_string.go
generated
vendored
|
@ -87,10 +87,8 @@ func (cCtx *Context) String(name string) string {
|
|||
}
|
||||
|
||||
func lookupString(name string, set *flag.FlagSet) string {
|
||||
f := set.Lookup(name)
|
||||
if f != nil {
|
||||
parsed := f.Value.String()
|
||||
return parsed
|
||||
if f := set.Lookup(name); f != nil {
|
||||
return f.Value.String()
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue