Skip to content

Commit 6e6c05c

Browse files
committed
Fix lint
1 parent d97b688 commit 6e6c05c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pr/checkout.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"code.gitea.io/gitea/modules/setting"
3232
"code.gitea.io/gitea/modules/util"
3333
"code.gitea.io/gitea/routers"
34-
"code.gitea.io/gitea/routers/routes"
34+
"code.gitea.io/gitea/routers/web"
3535

3636
"github.com/go-git/go-git/v5"
3737
"github.com/go-git/go-git/v5/config"
@@ -116,7 +116,7 @@ func runPR() {
116116
//routers.GlobalInit()
117117
external.RegisterRenderers()
118118
markup.Init()
119-
c := routes.NormalRoutes()
119+
c := web.NormalRoutes()
120120

121121
log.Printf("[PR] Ready for testing !\n")
122122
log.Printf("[PR] Login with user1, user2, user3, ... with pass: password\n")

0 commit comments

Comments
 (0)