Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
fix(commands/mr/mrutils): pass state when searching single id MR
Browse files Browse the repository at this point in the history
  • Loading branch information
maxice8 committed Feb 22, 2021
1 parent 15c46aa commit dc16b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/mr/mrutils/mrutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func MRsFromArgs(f *cmdutils.Factory, args []string, state string) ([]*gitlab.Me
}
if len(arrIDs) <= 1 {
// If there are no args then try to auto-detect from the branch name
mr, baseRepo, err := MRFromArgs(f, args)
mr, baseRepo, err := MRFromArgs(f, args, state)
if err != nil {
return nil, nil, err
}
Expand Down

0 comments on commit dc16b13

Please sign in to comment.