From f9999b46fa6f4503b53d12e61dfe83f27d07858b Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Fri, 2 Oct 2020 23:18:14 +0300 Subject: [PATCH] --only will execute disabled steps (fix #533) (#534) --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 15ba6b61..240aa506 100644 --- a/src/config.rs +++ b/src/config.rs @@ -458,7 +458,7 @@ impl Config { config_file.disable.as_ref().map_or_else(Vec::new, |v| v.clone()) }; - enabled_steps.retain(|e| !disabled_steps.contains(e)); + enabled_steps.retain(|e| !disabled_steps.contains(e) || opt.only.contains(e)); enabled_steps }