diff --git a/lib/pre-commit/plugins_list.rb b/lib/pre-commit/plugins_list.rb index f179cb7..3613387 100644 --- a/lib/pre-commit/plugins_list.rb +++ b/lib/pre-commit/plugins_list.rb @@ -14,11 +14,11 @@ def initialize(configured_names, configured_remove, &block) end def evaluated_names - evaluated_names_(evaluated_names_pairs).flatten.compact + evaluated_names_(evaluated_names_pairs).flatten.compact.uniq end def list_to_run - list_to_run_(evaluated_names_pairs).flatten.compact + list_to_run_(evaluated_names_pairs).flatten.compact.uniq end private