Fix breakage
This commit is contained in:
@@ -11,7 +11,7 @@ use pretty_env_logger::formatted_timed_builder;
|
||||
use regex::Regex;
|
||||
use serde::Deserialize;
|
||||
use structopt::StructOpt;
|
||||
use strum::{EnumIter, EnumString, EnumVariantNames, VariantNames};
|
||||
use strum::{EnumIter, EnumString, EnumVariantNames, IntoEnumIterator, VariantNames};
|
||||
use sys_info::hostname;
|
||||
use which_crate::which;
|
||||
|
||||
@@ -517,6 +517,10 @@ impl Config {
|
||||
enabled_steps.extend(only)
|
||||
}
|
||||
|
||||
if enabled_steps.is_empty() {
|
||||
enabled_steps.extend(Step::iter());
|
||||
}
|
||||
|
||||
let mut disabled_steps: Vec<Step> = Vec::new();
|
||||
disabled_steps.extend(&opt.disable);
|
||||
if let Some(disabled) = config_file.disable.as_ref() {
|
||||
|
||||
Reference in New Issue
Block a user