Skip to content

Commit

Permalink
Remove --parallel option from internal_investigation Rake task
Browse files Browse the repository at this point in the history
Parallel static analysis is enabled by default since RuboCop 1.19.0.
  • Loading branch information
koic committed Aug 14, 2021
1 parent 9b450a8 commit 8c49e97
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,7 @@ task :coverage do
end

desc 'Run RuboCop over itself'
RuboCop::RakeTask.new(:internal_investigation).tap do |task|
if RUBY_ENGINE == 'ruby' &&
RbConfig::CONFIG['host_os'] !~ /mswin|msys|mingw|cygwin|bccwin|wince|emc/
task.options = %w[--parallel]
end
end
RuboCop::RakeTask.new(:internal_investigation)

task default: %i[
documentation_syntax_check
Expand Down

0 comments on commit 8c49e97

Please sign in to comment.