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

This commit is contained in:
Mark Rousskov 2021-02-11 19:57:59 -05:00
parent e9920ef774
commit a35550774b
1 changed files with 5 additions and 1 deletions

View File

@ -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)
),
})?;
}
}