lib/cc/cli/upgrade_config_generator.rb in codeclimate-0.43.1 vs lib/cc/cli/upgrade_config_generator.rb in codeclimate-0.44.0

- old
+ new

@@ -20,14 +20,14 @@ end private def engine_eligible?(engine) - base_eligble = super + base_eligible = super if engine["upgrade_languages"].present? - base_eligble && (engine["upgrade_languages"] & classic_languages).any? + base_eligible && (engine["upgrade_languages"] & classic_languages).any? else - base_eligble + base_eligible end end def classic_languages @classic_languages ||= existing_yaml.languages.reject { |_, v| !v }.map(&:first)