lib/gym/detect_values.rb in gym-0.8.3 vs lib/gym/detect_values.rb in gym-0.8.4

- old
+ new

@@ -153,27 +153,8 @@ unless configurations.include?(config[:configuration]) Helper.log.error "Couldn't find specified configuration '#{config[:configuration]}'.".red config[:configuration] = nil end end - - # Usually we want `Release` - # We prefer `Release` to export the DSYM file as well - config[:configuration] ||= "Release" if configurations.include?("Release") - - return if config[:configuration].to_s.length > 0 - - if configurations.count == 1 - config[:configuration] = configurations.last - else - if Helper.is_ci? - Helper.log.error "Multiple configurations found but you haven't specified one.".red - Helper.log.error "Since this is a CI, please pass one using the `configuration` option".red - raise "Multiple configurations found".red - else - puts "Select Configuration: " - config[:configuration] = choose(*(configurations)) - end - end end end end