Commit 429a7ba
committed
fix: reject empty include_paths instead of silently indexing full repo
[] is falsy in Python, so 'if include_paths:' treated an explicit
empty list the same as None (omitted). Now returns a clear error
for empty list, preserving the distinction between 'index everything'
(omit include_paths) and 'index nothing' (empty list).1 parent 2e48561 commit 429a7ba
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
134 | 137 | | |
135 | 138 | | |
136 | 139 | | |
| |||
0 commit comments