Skip to content

Commit

Permalink
Rollup merge of #82013 - Mark-Simulacrum:better-ci-error, r=jyn514
Browse files Browse the repository at this point in the history
Tell user how to fix CI file being not up to date

This hopefully should avoid future questions like in #79979 (comment).
  • Loading branch information
JohnTitor committed Feb 12, 2021
2 parents 6830ea1 + a355507 commit 095b76c
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 095b76c

Please sign in to comment.