diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-02-11 19:57:59 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-02-11 19:57:59 -0500 |
| commit | a35550774b1c6f2e59012213de0632ccaf72fb23 (patch) | |
| tree | 0c6f40bfa301903a51abd06d237acb91a9c44b55 | |
| parent | e9920ef7749d11fc71cc32ca4ba055bcfeaab945 (diff) | |
Tell user how to fix CI file being not up to date
| -rw-r--r-- | src/tools/expand-yaml-anchors/src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/expand-yaml-anchors/src/main.rs b/src/tools/expand-yaml-anchors/src/main.rs index f8cf18a9309..8992d165d5d 100644 --- a/src/tools/expand-yaml-anchors/src/main.rs +++ b/src/tools/expand-yaml-anchors/src/main.rs @@ -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) + ), })?; } } |
