Merge pull request #4739 from betagouv/improve-cop-detection

lint: improve Rubocop detection
This commit is contained in:
Keirua 2020-02-03 11:55:03 +01:00 committed by GitHub
commit d19c9c6dcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
if ENV["RAILS_ENV"] == "development"
if defined?(RuboCop)
module RuboCop
module Cop
module DS