yay/pkg/query
xvqxy b52e3cf0d2
fix(aur): -Ss fails on multi arg if no results. (#1716)
This fixes #1674.

If search command included multiple packages and no results were found
in AUR, response from `query.queryAUR` was returned
as nil slice instead of non-nil empty slice and as nil slice is treated
during subsequent validation in `query.SourceQueryBuilder.Results` as
meaning that searching in AUR was not executed, command was failing.
Now empty non-nil slice is returned if results were not found.
2022-02-21 09:14:11 +00:00
..
aur_info.go chore(version): bump major version 2021-09-08 22:28:08 +02:00
aur_warnings.go chore(version): bump major version 2021-09-08 22:28:08 +02:00
errors.go feat(yay): simplify sort mode and use it for calculating number menu indices, fixes #1627 2021-11-07 00:18:26 +01:00
filter.go chore(version): bump major version 2021-09-08 22:28:08 +02:00
source.go fix(aur): -Ss fails on multi arg if no results. (#1716) 2022-02-21 09:14:11 +00:00
types.go feat(yay): simplify sort mode and use it for calculating number menu indices, fixes #1627 2021-11-07 00:18:26 +01:00
types_test.go feat(yay): simplify sort mode and use it for calculating number menu indices, fixes #1627 2021-11-07 00:18:26 +01:00