summaryrefslogtreecommitdiff
path: root/search/search.go
diff options
context:
space:
mode:
Diffstat (limited to 'search/search.go')
-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