From a0de17f53f2a75b194f0120de2ee0f7b091ef60c Mon Sep 17 00:00:00 2001 From: DustInDark Date: Wed, 15 Jun 2022 03:28:16 +0900 Subject: [PATCH] removed unnecessary field in Config struct --- src/detections/configs.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/detections/configs.rs b/src/detections/configs.rs index 51331c6b..f8e376b8 100644 --- a/src/detections/configs.rs +++ b/src/detections/configs.rs @@ -31,7 +31,6 @@ lazy_static! { #[derive(Clone)] pub struct ConfigReader<'a> { - pub cmd: Command<'a>, pub args: ArgMatches, pub headless_help: String, pub folder_path: String, @@ -289,7 +288,6 @@ OPTIONS: let headless_help = format!("{}{}", app_str, custom_usage_and_opt); let folder_path = arg.value_of("config").unwrap().to_string(); ConfigReader { - cmd: build_cmd, args: arg, headless_help, folder_path,