1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 22:01:43 +03:00

Remove unnecessary nil error in NewPullRequest.

This commit is contained in:
Kristijan Husak
2018-10-15 11:00:19 +02:00
parent df0e3e52fe
commit c69fce2e9d
3 changed files with 6 additions and 5 deletions

View File

@ -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