diff options
| author | ewy <ewy0@protonmail.com> | 2026-05-17 01:56:44 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-05-17 01:56:44 +0200 |
| commit | 5e71045120ba15087b45ba7a46b8dc12532e87c7 (patch) | |
| tree | 40131d497ec6e291c4b48bd1006b76427414310f /runner/base.go | |
| parent | f5807d9f3a6c96e70912b61fac17120f412b5782 (diff) | |
fix existing tests and import loop
Diffstat (limited to 'runner/base.go')
| -rw-r--r-- | runner/base.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runner/base.go b/runner/base.go index b3013b3..4fcd3d0 100644 --- a/runner/base.go +++ b/runner/base.go @@ -2,8 +2,8 @@ package runner import ( "github.com/ewy1/pik/identity" - "github.com/ewy1/pik/indexers/pikdex" "github.com/ewy1/pik/model" + "github.com/ewy1/pik/paths" "path/filepath" "slices" "strings" @@ -21,7 +21,7 @@ func SubFromFile(file string) []string { var sub []string split := strings.Split(file, "/") for _, p := range split { - if slices.Contains(pikdex.Roots, p) { + if slices.Contains(paths.Roots, p) { continue } if filename == p { |
