mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-29 22:51: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 {
|
||||||
ignores.extend(global_ignores.into_iter().filter(|ig| match ig.applies_to {
|
Some(pt) if pt.is_vcs() => vcs_types.contains(&pt),
|
||||||
Some(pt) if pt.is_vcs() => vcs_types.contains(&pt),
|
_ => true,
|
||||||
_ => true,
|
}));
|
||||||
}));
|
debug!(
|
||||||
debug!(
|
?ignores,
|
||||||
?ignores,
|
?vcs_types,
|
||||||
"combined and applied overall vcs filter over ignores"
|
"combined and applied overall vcs filter over ignores"
|
||||||
);
|
);
|
||||||
}
|
|
||||||
|
|
||||||
if args.is_present("no-project-ignore") {
|
if args.is_present("no-project-ignore") {
|
||||||
ignores = ignores
|
ignores = ignores
|
||||||
|
Loading…
Reference in New Issue
Block a user