mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-13 07:41:11 +01:00
Logic inversione
This commit is contained in:
parent
0c2b4848be
commit
1c388d6b2d
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ pub async fn from_origin(path: impl AsRef<Path>) -> (Vec<IgnoreFile>, Vec<Error>
|
|||
}
|
||||
|
||||
if let Some(sf) = &search_filter {
|
||||
if sf.check_dir(&dir) {
|
||||
if !sf.check_dir(&dir) {
|
||||
trace!(?dir, "dir is ignored, adding to skip list");
|
||||
dirs.skip(dir);
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue