diff options
author | Sean McGivern <sean@gitlab.com> | 2016-08-04 12:17:35 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-08-04 12:17:35 +0300 |
commit | c19fa02fa020d4b7aa69b3bbc51a4a257163325b (patch) | |
tree | 90695875bf3eb078f47095af88ee49aee1ad7a65 /config | |
parent | 5fedd7d1fa482b99ec8f73eb7ff866550bbd5188 (diff) |
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.
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/secret_token.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb index 7ab71b1c2b9..291fa6c0abc 100644 --- a/config/initializers/secret_token.rb +++ b/config/initializers/secret_token.rb @@ -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 |