Rollup merge of #122838 - workingjubilee:less-catholic-blessings-to-prevent-incremental-protests, r=matthiaskrgr
Avoid noop rewrite of issues.txt Fixes #122834 r? ```@matthiaskrgr```
This commit is contained in:
commit
d9e90ef467
1 changed files with 3 additions and 2 deletions
|
@ -183,9 +183,10 @@ pub fn check(root_path: &Path, bless: bool, bad: &mut bool) {
|
|||
}
|
||||
});
|
||||
|
||||
// if an excluded file is renamed, it must be removed from this list
|
||||
// if there are any file names remaining, they were moved on the fs.
|
||||
// our data must remain up to date, so it must be removed from issues.txt
|
||||
// do this automatically on bless, otherwise issue a tidy error
|
||||
if bless {
|
||||
if bless && !remaining_issue_names.is_empty() {
|
||||
let issues_txt_header = r#"
|
||||
/*
|
||||
============================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue