diff --git a/cmd/bashbrew/cmd-deps.go b/cmd/bashbrew/cmd-deps.go index bc0a14a0..4c412ab7 100644 --- a/cmd/bashbrew/cmd-deps.go +++ b/cmd/bashbrew/cmd-deps.go @@ -125,9 +125,7 @@ func cmdFamily(parents bool, c *cli.Context) error { } } } else { - if err != nil { - return cli.NewMultiError(fmt.Errorf(`failed fetching repo %q`, repo), err) - } + return cli.NewMultiError(fmt.Errorf(`failed fetching repo %q`, repo), err) } for _, tag := range tagsToConsider {