Skip to content

Commit

Permalink
Include https:// in PR link
Browse files Browse the repository at this point in the history
This allows terminals to make it highlighted and clicky.

commit-id:ec630215
  • Loading branch information
leoluk committed Dec 18, 2021
1 parent 4e24da4 commit 53c3b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/pullrequest.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (pr *PullRequest) String(config *config.Config) string {

prInfo := fmt.Sprintf("%3d", pr.Number)
if config.User.ShowPRLink {
prInfo = fmt.Sprintf("%s/%s/%s/pull/%d",
prInfo = fmt.Sprintf("https://%s/%s/%s/pull/%d",
config.Repo.GitHubHost, config.Repo.GitHubRepoOwner, config.Repo.GitHubRepoName, pr.Number)
}

Expand Down

0 comments on commit 53c3b3e

Please sign in to comment.