Fixed syntax/rubocop issue.
This commit is contained in:
parent
f4fdcba8fc
commit
29d5136cea
1 changed files with 10 additions and 9 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue