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:
parent
5fedd7d1fa
commit
c19fa02fa0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue