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:
Eric Huss 2019-05-23 13:33:08 -07:00
parent 27cc0db7a2
commit 46ffb6adba
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}