Feat: fix more formatting issues
This commit is contained in:
parent
938ecc693f
commit
2a63987acd
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue