class RuboCop::CLI::Command::ExecuteRunner
def execute_runner(paths)
def execute_runner(paths) runner = Runner.new(@options, @config_store) all_pass_or_excluded = with_redirect do all_passed = runner.run(paths) display_summary(runner) all_passed || @options[:auto_gen_config] end maybe_print_corrected_source if runner.aborting? STATUS_INTERRUPTED elsif all_pass_or_excluded && runner.errors.empty? STATUS_SUCCESS else STATUS_OFFENSES end end