tidy: don't short-circuit on license error
If there is more than one license error, tidy would only print the first error. This changes it so that all license errors are printed.
This commit is contained in:
parent
27cc0db7a2
commit
46ffb6adba
|
@ -241,7 +241,7 @@ pub fn check(path: &Path, bad: &mut bool) {
|
|||
}
|
||||
|
||||
let toml = dir.path().join("Cargo.toml");
|
||||
*bad = *bad || !check_license(&toml);
|
||||
*bad = !check_license(&toml) || *bad;
|
||||
}
|
||||
assert!(saw_dir, "no vendored source");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue