Skip to content

Commit

Permalink
Rollup merge of rust-lang#82013 - Mark-Simulacrum:better-ci-error, r=…
Browse files Browse the repository at this point in the history
…jyn514

Tell user how to fix CI file being not up to date

This hopefully should avoid future questions like in rust-lang#79979 (comment).
  • Loading branch information
JohnTitor authored Feb 12, 2021
2 parents 148979d + a355507 commit aaa0462
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tools/expand-yaml-anchors/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ impl App {
self.path(&path),
self.path(&dest_path)
),
Mode::Check => format!("{} is not up to date", self.path(&dest_path)),
Mode::Check => format!(
"{} is not up to date; please run \
`x.py run src/tools/expand-yaml-anchors`.",
self.path(&dest_path)
),
})?;
}
}
Expand Down

0 comments on commit aaa0462

Please sign in to comment.