summaryrefslogtreecommitdiff
path: root/config/initializers/deprecations.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/deprecations.rb')
-rw-r--r--config/initializers/deprecations.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/deprecations.rb b/config/initializers/deprecations.rb
index 2b07ca665e2..3d03efe67e0 100644
--- a/config/initializers/deprecations.rb
+++ b/config/initializers/deprecations.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
if Rails.env.development? || ENV['GITLAB_LEGACY_PATH_LOG_MESSAGE']
deprecator = ActiveSupport::Deprecation.new('11.0', 'GitLab')