Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
--only will execute disabled steps (fix #533) (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
r-darwish authored Oct 2, 2020
1 parent 8672a99 commit f9999b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit f9999b4

Please sign in to comment.