feat: v1.4.2, add latest user agent in meta
This commit is contained in:
@@ -76,6 +76,9 @@ pub fn info_single(path: &PathBuf, cmd_info: &CmdInfo) -> XResult<()> {
|
||||
infos.push(format!("{}: Version: {}, Agent: {}",
|
||||
header("File summary"), meta.version, meta.user_agent)
|
||||
);
|
||||
if let Some(latest_user_agent) = meta.latest_user_agent {
|
||||
infos.push(format!("{}: {}", header("Latest user agent"), latest_user_agent))
|
||||
}
|
||||
|
||||
let now_millis = util_time::get_current_millis() as u64;
|
||||
let fmt = simpledateformat::fmt(DATE_TIME_FORMAT).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user