self._print_impact

in lib/taste_tester/commands.rb [390:401]


    def self._print_impact(final_impact)
      if TasteTester::Config.json
        puts JSON.pretty_generate(final_impact.to_a)
      elsif final_impact.empty?
        logger.warn('No impacted roles were found.')
      else
        logger.warn('The following roles have modified dependencies.' +
                    ' Please test a host in each of these roles.')
        final_impact.each { |r| logger.warn("\t#{r}") }
      end
    end