Fix indentation issue

i18n
Michal S 2 years ago committed by Michal
parent 5b4b85b70a
commit abef89abb4

@ -104,7 +104,7 @@ impl LogHandler {
format!("{}{}{}", acc, separator, line)
});
let lines = wrap_text(lines.trim_start_matches("\n"), padding).join("\n");
let lines = wrap_text(lines, padding).join("\n").trim_matches('\n').to_string();
self.log(lines)
}

@ -39,7 +39,6 @@ impl AurFetch {
pb.finish_with_message("All packages found".green().to_string());
normal_output!();
print!(" "); // TODO: Make this less hacky
if print_aur_package_list(&package_infos.iter().collect::<Vec<_>>()).await
&& !self.options.noconfirm
&& !prompt!(default yes, "Some packages are already installed. Continue anyway?")

Loading…
Cancel
Save