Ignore Rails/Exit cop in initializer

We do not want to proceed with loading the app in this case, as it could
lose a secret needed to decrypt values in the database.
This commit is contained in:
Sean McGivern 2016-08-04 10:17:35 +01:00
parent 5fedd7d1fa
commit c19fa02fa0

View file

@ -75,7 +75,7 @@ Rails.application.secrets.#{key} was blank, but the literal value in config/secr
This probably isn't the expected value for this secret. To keep using a literal Erb string in config/secrets.yml, replace `<%` with `<%%`.
EOM
exit 1
exit 1 # rubocop:disable Rails/Exit
end
new