We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0083012 commit 3899f7bCopy full SHA for 3899f7b
src/tools/generate-copyright/src/main.rs
@@ -85,7 +85,7 @@ fn main() -> Result<(), Error> {
85
fn check_file_contents(path: &Path, new_contents: &str) -> Result<(), Error> {
86
let orig_contents = std::fs::read_to_string(&path)?;
87
if orig_contents != new_contents {
88
- anyhow::bail!("File {} is out of date", path.display());
+ anyhow::bail!("File {} is out of date. Run `x run tools/generate-copyright` to regenerate it.", path.display());
89
} else {
90
println!("File {} is OK", path.display());
91
}
0 commit comments