refactor: minimum-size

Change so it ignores the 'si' flag of output. But allow it to work with
kib/kb/mib/mb etc
This commit is contained in:
andy.boot
2024-02-25 10:09:17 +00:00
parent ebb3b8cceb
commit 4df4eeaa38
3 changed files with 43 additions and 31 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ fn main() {
true => get_all_file_types(&top_level_nodes, number_of_lines),
false => {
let agg_data = AggregateData {
min_size: config.get_min_size(&options, &output_format),
min_size: config.get_min_size(&options),
only_dir: config.get_only_dir(&options),
only_file: config.get_only_file(&options),
number_of_lines,