diff options
author | Stan Hu <stanhu@gmail.com> | 2016-07-27 05:09:11 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-07-27 05:09:11 +0300 |
commit | 680d361c83fcf57de2927161ddfe7c09766ae75b (patch) | |
tree | 5dcab9b197b2829f7d9f77bf7a1fa9db6183705e /config | |
parent | 02d947f1111849686c35c3bcf0bffb9abd0f8cf5 (diff) | |
parent | 2b7e6e99ed78b525eaa7f9e034b9bcf1e4fc5746 (diff) |
Merge branch '20124-disable-repository-validation-during-precompile-step' into 'master'
Add ENV variable to skip repository storages validations
Closes #20124
See merge request !5478
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/6_validations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/6_validations.rb b/config/initializers/6_validations.rb index 37746968675..d92f64e1647 100644 --- a/config/initializers/6_validations.rb +++ b/config/initializers/6_validations.rb @@ -26,4 +26,4 @@ def validate_storages end end -validate_storages unless Rails.env.test? +validate_storages unless Rails.env.test? || ENV['SKIP_STORAGE_VALIDATION'] == 'true' |