mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-28 22:21:33 +02:00
Logic inversione
This commit is contained in:
parent
0c2b4848be
commit
1c388d6b2d
@ -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 New Issue
Block a user