Skip to content

Commit a355507

Browse files
Tell user how to fix CI file being not up to date
1 parent e9920ef commit a355507

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)