fix(search): allow empty search (#1866)

This commit is contained in:
Ellie Huxtable 2024-03-12 16:46:41 +00:00 committed by GitHub
parent 3368d2fa47
commit 02d79feea5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,7 +135,7 @@ impl Cmd {
.map(std::string::ToString::to_string)
.collect()
} else {
return Err(eyre!("please specify search query via args or ATUIN_QUERY"));
vec![]
};
if (self.delete_it_all || self.delete) && self.limit.is_some() {