Fix formatting of push error message
This commit is contained in:
@@ -1034,7 +1034,12 @@ pub fn run() {
|
|||||||
remote
|
remote
|
||||||
.push(&[push_refspec], Some(&mut push_options))
|
.push(&[push_refspec], Some(&mut push_options))
|
||||||
.unwrap_or_else(|error| {
|
.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);
|
process::exit(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user