mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-28 22:21:33 +02:00
parent
965030b47b
commit
94b21c2da3
@ -108,16 +108,15 @@ pub async fn ignores(
|
||||
);
|
||||
}
|
||||
|
||||
if !vcs_types.is_empty() {
|
||||
ignores.extend(global_ignores.into_iter().filter(|ig| match ig.applies_to {
|
||||
Some(pt) if pt.is_vcs() => vcs_types.contains(&pt),
|
||||
_ => true,
|
||||
}));
|
||||
debug!(
|
||||
?ignores,
|
||||
"combined and applied overall vcs filter over ignores"
|
||||
);
|
||||
}
|
||||
ignores.extend(global_ignores.into_iter().filter(|ig| match ig.applies_to {
|
||||
Some(pt) if pt.is_vcs() => vcs_types.contains(&pt),
|
||||
_ => true,
|
||||
}));
|
||||
debug!(
|
||||
?ignores,
|
||||
?vcs_types,
|
||||
"combined and applied overall vcs filter over ignores"
|
||||
);
|
||||
|
||||
if args.is_present("no-project-ignore") {
|
||||
ignores = ignores
|
||||
|
Loading…
Reference in New Issue
Block a user