feat: update envelop format

This commit is contained in:
2023-10-16 00:02:52 +08:00
parent ab2e850435
commit b4d9b4692b
2 changed files with 6 additions and 15 deletions

View File

@@ -75,7 +75,7 @@ pub fn info_single(path: &PathBuf, cmd_info: &CmdInfo) -> XResult<()> {
envelops.iter().enumerate().for_each(|(i, envelop)| {
infos.push(format!("{}: {}",
header(&format!("Envelop #{}", i + 1)),
util_envelop::format_envelop_with_type_with(envelop, &config, Some(10))
util_envelop::format_envelop(envelop, &config)
));
})
}