Skip to content

Commit 095b76c

Browse files
authored
Rollup merge of #82013 - Mark-Simulacrum:better-ci-error, r=jyn514
Tell user how to fix CI file being not up to date This hopefully should avoid future questions like in #79979 (comment).
2 parents 6830ea1 + a355507 commit 095b76c

File tree

1 file changed

+5
-1
lines changed
  • src/tools/expand-yaml-anchors/src

1 file changed

+5
-1
lines changed

src/tools/expand-yaml-anchors/src/main.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ impl App {
7676
self.path(&path),
7777
self.path(&dest_path)
7878
),
79-
Mode::Check => format!("{} is not up to date", self.path(&dest_path)),
79+
Mode::Check => format!(
80+
"{} is not up to date; please run \
81+
`x.py run src/tools/expand-yaml-anchors`.",
82+
self.path(&dest_path)
83+
),
8084
})?;
8185
}
8286
}

0 commit comments

Comments
 (0)