diff --git a/lib/cops/unscoped.rb b/lib/cops/unscoped.rb index 2cbfe5f98..f3933a4e0 100644 --- a/lib/cops/unscoped.rb +++ b/lib/cops/unscoped.rb @@ -1,4 +1,4 @@ -if ENV["RAILS_ENV"] == "development" +if defined?(RuboCop) module RuboCop module Cop module DS