1
0
Fork 0
forked from forgejo/forgejo

Refactor editorconfig middleware

This commit is contained in:
Andrey Nering 2016-11-05 13:58:53 -02:00
parent 91b589f2f0
commit bd898a10f8
5 changed files with 8 additions and 27 deletions

View file

@ -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 {