Skip to content

Commit

Permalink
root: remove redundant check
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
  • Loading branch information
bmeneg committed Sep 28, 2020
1 parent 97ffd5e commit 628a61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func parseArgsRemoteInt(args []string) (string, int64, error) {
return "", 0, errors.Errorf("%s is not a valid remote", args[0])
}
}
if err != nil || remote == "" {
if remote == "" {
remote = forkedFromRemote
}
rn, err := git.PathWithNameSpace(remote)
Expand Down

0 comments on commit 628a61c

Please sign in to comment.