We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7d857e commit 2dee2a4Copy full SHA for 2dee2a4
src/tools/tidy/src/lib.rs
@@ -169,7 +169,6 @@ pub fn files_modified_batch_filter<T>(
169
None => {
170
eprintln!("warning: failed to run `git diff` to check for changes");
171
eprintln!("warning: assuming all files are modified");
172
- return;
173
}
174
175
@@ -178,7 +177,7 @@ pub fn files_modified_batch_filter<T>(
178
177
pub fn files_modified(ci_info: &CiInfo, pred: impl Fn(&str) -> bool) -> bool {
179
let mut v = vec![()];
180
files_modified_batch_filter(ci_info, &mut v, |_, p| pred(p));
181
- v.is_empty()
+ !v.is_empty()
182
183
184
pub mod alphabetical;
0 commit comments