1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-07-13 18:29: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:
Vincent Batts 2023-10-07 09:59:06 -04:00
parent a9c6969125
commit e73ff94ef9
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
162 changed files with 1835 additions and 2997 deletions

View file

@ -90,13 +90,8 @@ func (cCtx *Context) Path(name string) string {
}
func lookupPath(name string, set *flag.FlagSet) string {
f := set.Lookup(name)
if f != nil {
parsed, err := f.Value.String(), error(nil)
if err != nil {
return ""
}
return parsed
if f := set.Lookup(name); f != nil {
return f.Value.String()
}
return ""
}