aboutsummaryrefslogtreecommitdiff
path: root/internal/route/repo/branch.go
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2021-05-19 13:38:13 +0800
committerGitHub <noreply@github.com>2021-05-19 13:38:13 +0800
commit1a1a01a8423a58c2c9f4906364631b160ec593eb (patch)
tree76da60be7bd2e332b91171d0b1c342928284e846 /internal/route/repo/branch.go
parentc4cf659e324379dba29c78d6e838dfebe6b59e2f (diff)
ci: use new lint action and add custom config (#6562)
Diffstat (limited to 'internal/route/repo/branch.go')
-rw-r--r--internal/route/repo/branch.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/route/repo/branch.go b/internal/route/repo/branch.go
index 17630554..dd2508dd 100644
--- a/internal/route/repo/branch.go
+++ b/internal/route/repo/branch.go
@@ -91,7 +91,7 @@ func Branches(c *context.Context) {
c.Data["ActiveBranches"] = activeBranches
c.Data["StaleBranches"] = staleBranches
- c.Success( BRANCHES_OVERVIEW)
+ c.Success(BRANCHES_OVERVIEW)
}
func AllBranches(c *context.Context) {
@@ -104,7 +104,7 @@ func AllBranches(c *context.Context) {
}
c.Data["Branches"] = branches
- c.Success( BRANCHES_ALL)
+ c.Success(BRANCHES_ALL)
}
func DeleteBranchPost(c *context.Context) {