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 Gitlab.ee do
begin begin
public_key_file = File.read(Rails.root.join(".license_encryption_key.pub")) 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. # Be sure to restart your server when you modify this file.
require 'gitlab/current_settings' require 'gitlab/current_settings'

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
Gitlab.ee do Gitlab.ee do
if File.exist?(Rails.root.join('config/database_geo.yml')) if File.exist?(Rails.root.join('config/database_geo.yml'))
Rails.application.configure do 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 # We need to run this initializer after migrations are done so it doesn't fail on CI
Gitlab.ee do Gitlab.ee do

View file

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