fix rubocop
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
# This rake task was added by annotate_rb gem.
|
# This rake task was added by annotate_rb gem.
|
||||||
|
|
||||||
# Can set `ANNOTATERB_SKIP_ON_DB_TASKS` to be anything to skip this
|
# Can set `ANNOTATERB_SKIP_ON_DB_TASKS` to be anything to skip this
|
||||||
if Rails.env.development? && ENV["ANNOTATERB_SKIP_ON_DB_TASKS"].nil?
|
if Rails.env.development? && ENV['ANNOTATERB_SKIP_ON_DB_TASKS'].nil?
|
||||||
require "annotate_rb"
|
require 'annotate_rb'
|
||||||
|
|
||||||
AnnotateRb::Core.load_rake_tasks
|
AnnotateRb::Core.load_rake_tasks
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user