Fix formatting of push error message

This commit is contained in:
2021-11-29 00:32:29 +01:00
parent e2e55b8e79
commit 4e83aba672

View File

@@ -1034,7 +1034,12 @@ pub fn run() {
remote
.push(&[push_refspec], Some(&mut push_options))
.unwrap_or_else(|error| {
print_error(&format!("Pushing to {} ({}) failed: {}", remote_name, remote.url().unwrap(), error));
print_error(&format!(
"Pushing to {} ({}) failed: {}",
remote_name,
remote.url().unwrap(),
error
));
process::exit(1);
});