Skip to content

Commit

Permalink
fix(tabby-git): allow lang: query being used individually (#2743)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Jul 29, 2024
1 parent 2886303 commit 7db74f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/tabby-git/src/grep/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ impl GrepQuery {
&& negative_pattern_matcher.is_none()
&& file_pattern_matcher.is_empty()
&& negative_file_pattern_matcher.is_none()
&& self.file_types.is_empty()
&& self.negative_file_types.is_empty()
{
bail!("No patterns specified")
}
Expand Down

0 comments on commit 7db74f2

Please sign in to comment.