Fix new rubocop warnings

This commit is contained in:
Tom Hughes 2022-09-09 22:36:39 +01:00
parent f7e168b8e1
commit 9cd96bd452
7 changed files with 9 additions and 9 deletions

View file

@ -2,7 +2,7 @@
# Otherwise, admins might not be aware that they are now silently ignored
# and major problems could occur
# rubocop:disable Rails/Output, Rails/Exit
if File.exist?(Rails.root.join("config/application.yml"))
if Rails.root.join("config/application.yml").exist?
puts "The config/application.yml file is no longer supported."
puts ""
puts "Default settings are now found in config/settings.yml and you"