Feat: fix more formatting issues

This commit is contained in:
Zhengang Li 2026-02-06 11:26:50 +11:00
parent 938ecc693f
commit 2a63987acd
1 changed files with 3 additions and 3 deletions

View File

@ -142,9 +142,9 @@ impl Query {
suffix_query: SuffixQuery,
) -> Result<()> {
if self.interactive {
if self.query_interactive_normal(db, now)? {
Ok(())
} else if self.query_interactive_suffix(db, now, &suffix_query)? {
if self.query_interactive_normal(db, now)?
|| self.query_interactive_suffix(db, now, &suffix_query)?
{
Ok(())
} else {
anyhow::bail!("no match found")