fix manifest failing to save after migration on encrypted maFiles when providing passkey via the prompts on stdin (#297)

This commit is contained in:
Carson McManus 2023-08-09 13:40:58 -04:00 committed by GitHub
parent 28733e029d
commit aa5168e663
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,7 +162,7 @@ fn run(args: commands::Args) -> anyhow::Result<()> {
} }
let mut manager = AccountManager::from_manifest(manifest, mafiles_dir); let mut manager = AccountManager::from_manifest(manifest, mafiles_dir);
manager.register_accounts(accounts); manager.register_accounts(accounts);
manager.submit_passkey(globalargs.passkey.clone()); manager.submit_passkey(passkey.clone());
manager.save()?; manager.save()?;
manager manager
} }