Skip to content

Commit

Permalink
same with rubocop again
Browse files Browse the repository at this point in the history
  • Loading branch information
cromulus committed Aug 16, 2016
1 parent eb370a0 commit 80afeb6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/tasks/rubocop.rake
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require 'rubocop/rake_task'

desc 'Run rubocop'
task :rubocop do
RuboCop::RakeTask.new
if Rails.env != 'production'
require 'rubocop/rake_task'
desc 'Run rubocop'
task :rubocop do
RuboCop::RakeTask.new
end
end

0 comments on commit 80afeb6

Please sign in to comment.