Skip to content

Commit a945a75

Browse files
committed
Fix Rakefile to run RuboCop locally
1 parent ebdc5aa commit a945a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require_relative "config/application"
77

88
Rails.application.load_tasks
99

10-
if defined?(RuboCop)
10+
if Rails.env.local?
1111
require "rubocop/rake_task"
1212
RuboCop::RakeTask.new
1313

0 commit comments

Comments
 (0)