Add frozen_string_literal to EE files now in CE
This commit is contained in:
parent
acd927fd59
commit
30e5b31eea
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Gitlab.ee do
|
||||
begin
|
||||
public_key_file = File.read(Rails.root.join(".license_encryption_key.pub"))
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
require 'gitlab/current_settings'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
if ENV['ENABLE_SIDEKIQ_CLUSTER'] && Gitlab.ee?
|
||||
Thread.new do
|
||||
Thread.current.abort_on_exception = true
|
||||
|
|
Loading…
Reference in New Issue