mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-13 07:41:11 +01:00
Fix panic in tagged filtering
This commit is contained in:
parent
c6336cdf3c
commit
f24e95504b
1 changed files with 2 additions and 3 deletions
|
@ -196,9 +196,8 @@ impl TaggedFilterer {
|
|||
trace!(?resolved, "resolved path to match filter against");
|
||||
|
||||
if matches!(filter.op, Op::Glob | Op::NotGlob) {
|
||||
unreachable!(
|
||||
"path glob match with match_tag is too late; should be handled above"
|
||||
);
|
||||
trace!("path glob match with match_tag is already handled");
|
||||
return Ok(None);
|
||||
} else {
|
||||
filter.matches(resolved.to_string_lossy())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue