Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Kopenga <mkopenga@gmail.com>
  • Loading branch information
2 people authored and jesseduffield committed Jul 27, 2021
1 parent bccf203 commit 0a63f70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions pkg/commands/pull_request.go
Expand Up @@ -155,11 +155,9 @@ func (pr *PullRequest) getPullRequestURL(from *models.Branch, to *models.Branch)
}

repoInfo := getRepoInfoFromURL(repoURL)
var toBranchName string
if to == nil {
toBranchName = ""
} else {
toBranchName = to.Name
toBranchName := ""
if to != nil {
toBranchName = to.Name
}
pullRequestURL := gitService.PullRequestURL(repoInfo.Owner, repoInfo.Repository, from.Name, toBranchName)

Expand Down
4 changes: 2 additions & 2 deletions pkg/i18n/dutch.go
Expand Up @@ -396,7 +396,7 @@ func dutchTranslationSet() TranslationSet {
LcInitSubmodule: "initialiseer submodule",
LcViewBulkSubmoduleOptions: "bekijk bulk submodule opties",
LcViewStashFiles: "bekijk bestanden van stash entry",
CreatePullRequestOptions: "Maak opties voor pull-aanvragen",
LcCreatePullRequestOptions: "maak opties voor pull-aanvragen",
CreatePullRequestOptions: "Creëer pull request opties",
LcCreatePullRequestOptions: "creëer pull request opties",
}
}

0 comments on commit 0a63f70

Please sign in to comment.