Skip to content

Commit

Permalink
Remove unnecessary extra "if"
Browse files Browse the repository at this point in the history
This is something I missed in #32 πŸ˜…
  • Loading branch information
tianon committed Aug 16, 2021
1 parent 4c95a9e commit 1eebbf3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/bashbrew/cmd-deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1eebbf3

Please sign in to comment.