allow accounts to be removed from manifest without successfully removing authenticator from account

This commit is contained in:
Carson McManus 2021-09-06 16:14:57 -04:00
parent 274dd373c2
commit a92cd5b1aa

View file

@ -456,10 +456,16 @@ fn main() {
"Failed to remove authenticator from {}", "Failed to remove authenticator from {}",
account.account_name account.account_name
); );
match tui::prompt_char("Would you like to remove it from the manifest anyway?", "yN") {
'y' => {
successful.push(account.account_name.clone());
}
_ => {}
}
} }
} }
Err(err) => { Err(err) => {
println!( error!(
"Unexpected error when removing authenticator from {}: {}", "Unexpected error when removing authenticator from {}: {}",
account.account_name, err account.account_name, err
); );