amethyst: follow the paperclip (clippys) advice

i18n
Fries 2 years ago committed by Michal
parent 786db41860
commit eb3fcf3945

@ -39,7 +39,7 @@ impl PaccacheBuilder {
}
command
.args(&["-r", &format!("-k{}", self.keep.to_string())])
.args(&["-r", &format!("-k{}", self.keep)])
.wait_success()
.await
}

@ -57,7 +57,7 @@ pub async fn clean(options: Options) {
.uninstall()
.await;
if let Err(_) = result {
if result.is_err() {
crash!(AppExitCode::PacmanError, "Failed to remove orphans");
} else {
tracing::info!("Successfully removed orphans");

@ -33,7 +33,7 @@ async fn upgrade_repo(options: Options) {
.upgrade()
.await;
if let Err(_) = result {
if result.is_err() {
let continue_upgrading = prompt!(default no,
"Failed to upgrade repo packages, continue to upgrading AUR packages?",
);

Loading…
Cancel
Save