feat: optimize code
This commit is contained in:
@@ -103,7 +103,7 @@ pub fn info_single(path: &PathBuf, cmd_info: &CmdInfo, config: &Option<TinyEncry
|
||||
envelops.iter().enumerate().for_each(|(i, envelop)| {
|
||||
infos.push(format!("{}: {}",
|
||||
header(&format!("Envelop #{}", i + 1)),
|
||||
util_envelop::format_envelop(envelop, &config)
|
||||
util_envelop::format_envelop(envelop, config)
|
||||
));
|
||||
util_msg::when_debug(|| {
|
||||
if let Ok(wrap_key) = WrapKey::parse(&envelop.encrypted_key) {
|
||||
|
||||
Reference in New Issue
Block a user