From a1ed239bf277b0f17694e2e5685368d373e010c7 Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Tue, 19 Sep 2017 04:44:49 -0700 Subject: [PATCH] Fix fmt errors (#2544) --- modules/context/repo.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/context/repo.go b/modules/context/repo.go index acfccfcd05..519c3afc07 100644 --- a/modules/context/repo.go +++ b/modules/context/repo.go @@ -171,11 +171,12 @@ func RedirectToRepo(ctx *Context, redirectRepoID int64) { ) ctx.Redirect(redirectPath) } + // RepoIDAssignment returns an macaron handler which assigns the repo to the context. func RepoIDAssignment() macaron.Handler { return func(ctx *Context) { var ( - err error + err error ) repoID := ctx.ParamsInt64(":repoid") -- 2.39.5