mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
Remove unnecessary nil error in NewPullRequest.
This commit is contained in:
parent
df0e3e52fe
commit
c69fce2e9d
3 changed files with 6 additions and 5 deletions
|
@ -44,11 +44,11 @@ func getServices() []*Service {
|
|||
}
|
||||
|
||||
// NewPullRequest creates new instance of PullRequest
|
||||
func NewPullRequest(gitCommand *GitCommand) (*PullRequest, error) {
|
||||
func NewPullRequest(gitCommand *GitCommand) *PullRequest {
|
||||
return &PullRequest{
|
||||
GitServices: getServices(),
|
||||
GitCommand: gitCommand,
|
||||
}, nil
|
||||
}
|
||||
}
|
||||
|
||||
// Create opens link to new pull request in browser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue