mirror of
https://codeberg.org/YGGverse/ytd.git
synced 2026-04-08 04:55:26 +00:00
fix item_name_regex match condition
This commit is contained in:
parent
1befbfbe16
commit
5dab020c02
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ async fn main() {
|
|||
if channel
|
||||
.item_name_regex
|
||||
.as_ref()
|
||||
.is_some_and(|regex| regex.is_match(&item.name))
|
||||
.is_some_and(|regex| !regex.is_match(&item.name))
|
||||
{
|
||||
debug!(
|
||||
"item name `{}` for channel `{c}` does not match pattern `{}`; skip.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue