summaryrefslogtreecommitdiff
path: root/env/env.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-17 01:56:44 +0200
committerewy <ewy0@protonmail.com>2026-05-17 01:56:44 +0200
commit5e71045120ba15087b45ba7a46b8dc12532e87c7 (patch)
tree40131d497ec6e291c4b48bd1006b76427414310f /env/env.go
parentf5807d9f3a6c96e70912b61fac17120f412b5782 (diff)
fix existing tests and import loop
Diffstat (limited to 'env/env.go')
-rw-r--r--env/env.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/env/env.go b/env/env.go
index b39076d..ffc29bf 100644
--- a/env/env.go
+++ b/env/env.go
@@ -2,8 +2,8 @@ package env
import (
"github.com/ewy1/pik/flags"
- "github.com/ewy1/pik/indexers/pikdex"
"github.com/ewy1/pik/model"
+ "github.com/ewy1/pik/paths"
"github.com/ewy1/pik/spool"
"github.com/joho/godotenv"
"io/fs"
@@ -36,7 +36,7 @@ func Files(f fs.FS, p string, deep bool) []string {
return nil
}
for _, e := range dir {
- if e.IsDir() && slices.Contains(pikdex.Roots, e.Name()) && deep {
+ if e.IsDir() && slices.Contains(paths.Roots, e.Name()) && deep {
result = append(result, Files(f, e.Name(), false)...)
}
if !e.IsDir() && IsEnv(e.Name()) {