Fixed syntax/rubocop issue.

This commit is contained in:
Martin Edenhofer 2016-10-24 19:36:25 +02:00
parent f4fdcba8fc
commit 29d5136cea

View file

@ -23,16 +23,17 @@ if ActiveRecord::Base.connection_config[:adapter] == 'mysql2'
# rubocop:enable Rails/Exit # rubocop:enable Rails/Exit
# rubocop:enable Rails/Output # rubocop:enable Rails/Output
end end
end
elsif server_vendor == 'MariaDB' elsif server_vendor == 'MariaDB'
if major.to_i < 10 if major.to_i < 10
# rubocop:disable Rails/Output # rubocop:disable Rails/Output
# rubocop:disable Rails/Exit # rubocop:disable Rails/Exit
p '+++++++++++++++++++++++++++++++++++++++++++++++++++++' p '+++++++++++++++++++++++++++++++++++++++++++++++++++++'
p '+ I\'m sorry, MariaDB 10.0+ is required +' p '+ I\'m sorry, MariaDB 10.0+ is required +'
p '+++++++++++++++++++++++++++++++++++++++++++++++++++++' p '+++++++++++++++++++++++++++++++++++++++++++++++++++++'
exit 1 exit 1
# rubocop:enable Rails/Exit # rubocop:enable Rails/Exit
# rubocop:enable Rails/Output # rubocop:enable Rails/Output
end end
end end
end