We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent c255b39 commit c178867Copy full SHA for c178867
modules/templates/base.go
@@ -11,8 +11,7 @@ import (
11
12
"code.gitea.io/gitea/modules/log"
13
"code.gitea.io/gitea/modules/setting"
14
-
15
- "github.com/unknwon/com"
+ "code.gitea.io/gitea/modules/util"
16
)
17
18
// Vars represents variables to be render in golang templates
@@ -63,7 +62,7 @@ func getDirAssetNames(dir string) []string {
63
62
return tmpls
64
}
65
66
- files, err := com.StatDir(dir)
+ files, err := util.StatDir(dir)
67
if err != nil {
68
log.Warn("Failed to read %s templates dir. %v", dir, err)
69
0 commit comments