Fix indentation in certain places

i18n
Michal S 2 years ago committed by Michal
parent 888914ffbe
commit 1e93e5eb81

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

@ -39,6 +39,7 @@ impl AurFetch {
pb.finish_with_message("All packages found".green().to_string());
normal_output!();
print!(" "); // Indentation, is this too 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