Skip to content

Commit

Permalink
Fix stray new line
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganamilo committed Apr 12, 2022
1 parent 6ef418b commit 2843a71
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,6 @@ pub fn print_install_verbose(config: &Config, actions: &Actions) {
let bold = c.bold;
let db = config.alpm.localdb();

println!();

let package = tr!("Repo ({})", actions.install.len());
let aur = tr!("Aur ({})", actions.iter_build_pkgs().count());
let old = tr!("Old Version");
Expand Down Expand Up @@ -291,6 +289,7 @@ pub fn print_install_verbose(config: &Config, actions: &Actions) {
}

if !actions.install.is_empty() {
println!();
println!(
"{}{:<package_len$} {}{:<old_len$} {}{:<new_len$} {}",
bold.paint(&package),
Expand Down Expand Up @@ -328,9 +327,8 @@ pub fn print_install_verbose(config: &Config, actions: &Actions) {
}
}

println!();

if !actions.build.is_empty() {
println!();
println!(
"{}{:<package_len$} {}{:<old_len$} {}{:<new_len$} {}",
bold.paint(&aur),
Expand Down

0 comments on commit 2843a71

Please sign in to comment.