forked from forgejo/forgejo
Refactor editorconfig middleware
This commit is contained in:
parent
91b589f2f0
commit
bd898a10f8
5 changed files with 8 additions and 27 deletions
|
@ -245,11 +245,6 @@ func Home(ctx *context.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
setEditorconfigIfExists(ctx)
|
||||
if ctx.Written() {
|
||||
return
|
||||
}
|
||||
|
||||
var treeNames []string
|
||||
paths := make([]string, 0, 5)
|
||||
if len(ctx.Repo.TreePath) > 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue