Merge pull request #4735 from betagouv/fix/rubocop-custom-rule

Only load rubocop's custom rule in development
This commit is contained in:
Keirua 2020-01-30 15:30:24 +01:00 committed by GitHub
commit a6b337c436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,4 @@
if ENV["RAILS_ENV"] == "development"
module RuboCop
module Cop
module DS
@ -16,3 +17,4 @@ module RuboCop
end
end
end
end