Skip to content

Commit df7e5b7

Browse files
committed
golint fix
1 parent 483ee56 commit df7e5b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/repo/issue.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,9 +665,9 @@ func ViewIssue(ctx *context.Context) {
665665
pull := issue.PullRequest
666666
ctx.Data["IsPullBranchDeletable"] = ctx.Repo.IsWriter() && ctx.Repo.GitRepo.IsBranchExist(pull.HeadBranch)
667667

668-
deleteBranchUrl := ctx.Repo.RepoLink + "/branches/" + pull.HeadBranch + "/delete"
668+
deleteBranchURL := ctx.Repo.RepoLink + "/branches/" + pull.HeadBranch + "/delete"
669669
queryParams := "?redirect_to=" + ctx.Data["Link"].(string)
670-
ctx.Data["DeleteBranchLink"] = deleteBranchUrl + queryParams
670+
ctx.Data["DeleteBranchLink"] = deleteBranchURL + queryParams
671671
}
672672

673673
ctx.Data["Participants"] = participants

0 commit comments

Comments
 (0)