Commit c19fa02f authored by Sean McGivern's avatar Sean McGivern

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.
parent 5fedd7d1
...@@ -75,7 +75,7 @@ Rails.application.secrets.#{key} was blank, but the literal value in config/secr ...@@ -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 `<%%`. This probably isn't the expected value for this secret. To keep using a literal Erb string in config/secrets.yml, replace `<%` with `<%%`.
EOM EOM
exit 1 exit 1 # rubocop:disable Rails/Exit
end end
new new
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment