summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-07-16 12:53:26 +0200
committerewy <ewy0@protonmail.com>2026-07-16 12:53:26 +0200
commit7dfe24e9571a1bb86739cf136970abd939a847ee (patch)
treeacc42e8b4dc9e93444d1c07524179bca4488b90c
parentf7ecbb51b9649cd35419370cae626a1605bbc8c9 (diff)
-rw-r--r--search/search.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/search/search.go b/search/search.go
index 3ed8ea1..d0d66eb 100644
--- a/search/search.go
+++ b/search/search.go
@@ -65,9 +65,6 @@ args_loop:
// uncertain about source, check ours to see if any match
for _, t := range src.Targets {
if t.Matches(arg) {
- if len(t.Sub()) <= i {
- continue
- }
if slices.Equal(t.Sub(), subdir) {
target = t
targetSource = src