Remove unnecessary blank lines from parse command output on error
This commit is contained in:
parent
a3ce4a4282
commit
09b46b87dd
1 changed files with 4 additions and 2 deletions
|
|
@ -12,8 +12,10 @@ const BUILD_SHA: Option<&'static str> = option_env!("BUILD_SHA");
|
|||
|
||||
fn main() {
|
||||
if let Err(e) = run() {
|
||||
println!("");
|
||||
eprintln!("{}", e.message());
|
||||
if !e.message().is_empty() {
|
||||
println!("");
|
||||
eprintln!("{}", e.message());
|
||||
}
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue