routes: ignore files
Anirudh Oppiliappan x@icyphox.sh
Fri, 05 Jul 2024 19:49:50 +0300
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
routes/routes.go
→
routes/routes.go
@@ -40,7 +40,7 @@
infos := []info{} for _, dir := range dirs { - if d.isIgnored(dir.Name()) { + if !dir.IsDir() || d.isIgnored(dir.Name()) { continue }