Add frozen_string_literal to EE files now in CE

This commit is contained in:
Robert Speicher 2019-07-08 20:06:24 -05:00
parent acd927fd59
commit 30e5b31eea
No known key found for this signature in database
GPG Key ID: 1D812769A7706642
5 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
Gitlab.ee do
begin
public_key_file = File.read(Rails.root.join(".license_encryption_key.pub"))

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
require 'gitlab/current_settings'

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
Gitlab.ee do
if File.exist?(Rails.root.join('config/database_geo.yml'))
Rails.application.configure do

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
# We need to run this initializer after migrations are done so it doesn't fail on CI
Gitlab.ee do

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
if ENV['ENABLE_SIDEKIQ_CLUSTER'] && Gitlab.ee?
Thread.new do
Thread.current.abort_on_exception = true