We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d1174a9 + 4b612a5 commit 7ab10d2Copy full SHA for 7ab10d2
src/tools/miri/miri-script/src/commands.rs
@@ -173,7 +173,7 @@ impl Command {
173
// the merge has confused the heck out of josh in the past.
174
// We pass `--no-verify` to avoid running git hooks like `./miri fmt` that could in turn
175
// trigger auto-actions.
176
- sh.write_file("rust-version", &commit)?;
+ sh.write_file("rust-version", format!("{commit}\n"))?;
177
const PREPARING_COMMIT_MESSAGE: &str = "Preparing for merge from rustc";
178
cmd!(sh, "git commit rust-version --no-verify -m {PREPARING_COMMIT_MESSAGE}")
179
.run()
0 commit comments