Add StatDir and replace com.StatDir (#14099)

* Add StatDir and replace com.StatDir

* a nit

* Remove wrong file

Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
Lunny Xiaoand6543 authored and GitHub committed 2020-12-22 07:40:57 +08:00
1 parent f8fd8996c0
commit acd5e5a868
6 files changed
+88 -14

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ func loadRepoConfig() {
log.Fatal("Failed to get custom %s files: %v", t, err)
}
if isDir {
customFiles, err := com.StatDir(customPath)
customFiles, err := util.StatDir(customPath)
if err != nil {
log.Fatal("Failed to get custom %s files: %v", t, err)
}