Patching RuboCop::CLI to enable require mode.
9 10 11 12 13
# File 'lib/rubocop/gradual/patch.rb', line 9 def run_command(name) return super if name != :execute_runner || (ARGV & %w[--stdin -s]).any? RuboCop::Gradual::CLI.new.run(patched_argv) end