Skip to content

Commit

Permalink
[#70] fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
rpbaltazar committed Jun 24, 2020
1 parent 87e99b3 commit 04d06a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/apartment/tasks/task_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def self.tenants
def self.warn_if_tenants_empty
return unless tenants.empty? && ENV['IGNORE_EMPTY_TENANTS'] != 'true'

# rubocop:disable Rails/Output
puts <<-WARNING
[WARNING] - The list of tenants to migrate appears to be empty. This could mean a few things:
Expand All @@ -28,6 +29,7 @@ def self.warn_if_tenants_empty
Note that your tenants currently haven't been migrated. You'll need to run `db:migrate` to rectify this.
WARNING
# rubocop:enable Rails/Output
end
end
end

0 comments on commit 04d06a3

Please sign in to comment.