Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-08-04 12:17:35 +0300
committerSean McGivern <sean@gitlab.com>2016-08-04 12:17:35 +0300
commitc19fa02fa020d4b7aa69b3bbc51a4a257163325b (patch)
tree90695875bf3eb078f47095af88ee49aee1ad7a65 /config/initializers
parent5fedd7d1fa482b99ec8f73eb7ff866550bbd5188 (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/initializers')
-rw-r--r--config/initializers/secret_token.rb2
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