Rename filename
This commit is contained in:
parent
9ad56e3b94
commit
b9599d1210
@ -15,7 +15,7 @@ pub fn check(path: &Path, bad: &mut bool) {
|
||||
&mut |path| super::filter_dirs(path) || path.ends_with("src/test"),
|
||||
&mut |file| {
|
||||
let filename = file.file_name().unwrap().to_string_lossy();
|
||||
if filename != "diagnostics.rs" && filename != "diagnostic_list.rs" {
|
||||
if filename != "error_codes.rs" && filename != "diagnostic_list.rs" {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user