Skip to content

Commit

Permalink
Rename filename
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Apr 17, 2019
1 parent 9ad56e3 commit b9599d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/tidy/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit b9599d1

Please sign in to comment.