diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-22 20:44:06 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-22 20:44:06 +0200 |
| commit | 086a0cc0eb75c0c3a15cf6a715427df1e2d589a2 (patch) | |
| tree | 0bcc881b202f94a7ea39f94f13aea89ca2046312 /search | |
| parent | c6a362a039b1662dfc0badeb8badc4458e446787 (diff) | |
slowly working on that test coverage
Diffstat (limited to 'search')
| -rw-r--r-- | search/search.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/search/search.go b/search/search.go index 767473d..fd06ab5 100644 --- a/search/search.go +++ b/search/search.go @@ -89,10 +89,10 @@ args_loop: } - if target == nil { + if target == nil && suspect == nil { subdir = append(subdir, arg) continue args_loop - } else if targetSource != nil { + } else if targetSource != nil || suspect != nil { forward = append(forward, arg) continue args_loop } |
