From 04d06a3c6c6df0bfbfac31ee4251511300301811 Mon Sep 17 00:00:00 2001 From: Rui Baltazar Date: Wed, 24 Jun 2020 23:31:26 +0800 Subject: [PATCH] [#70] fix rubocop --- lib/apartment/tasks/task_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/apartment/tasks/task_helper.rb b/lib/apartment/tasks/task_helper.rb index b1020dbc..311228f4 100644 --- a/lib/apartment/tasks/task_helper.rb +++ b/lib/apartment/tasks/task_helper.rb @@ -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: @@ -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