mv: full-data option check #606

This commit is contained in:
DastInDark
2022-06-29 22:15:35 +09:00
parent 59f79161be
commit 8bf5752cc7
2 changed files with 9 additions and 6 deletions

View File

@@ -235,11 +235,8 @@ pub fn create_rec_info(data: Value, path: String, keys: &[String]) -> EvtxRecord
// EvtxRecordInfoを作る
let data_str = data.to_string();
let rec_info = if configs::CONFIG.read().unwrap().args.full_data {
Option::Some(create_recordinfos(&data))
} else {
Option::None
};
let rec_info = Option::Some(create_recordinfos(&data));
EvtxRecordInfo {
evtx_filepath: path,
record: data,