Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-02-28 13:12:11 +0300
committerPawel Chojnacki <pawel@chojnacki.ws>2017-03-06 17:41:50 +0300
commit8a9bc24ef87739580c19ee8455bd8224d3c18b3e (patch)
tree1c5a0718478064c1c8316f6d0817762dcfd38a31 /lib/gitlab/request_context.rb
parent98bd48c66bd45241d857528791f4e2dd21bfc17a (diff)
align schema.rb with upstream and fix rubocop warning about not freezing mutable constants and empty error classes
Diffstat (limited to 'lib/gitlab/request_context.rb')
-rw-r--r--lib/gitlab/request_context.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/request_context.rb b/lib/gitlab/request_context.rb
index 548adf4775a..1dce18d1733 100644
--- a/lib/gitlab/request_context.rb
+++ b/lib/gitlab/request_context.rb
@@ -1,6 +1,5 @@
module Gitlab
- class RequestStoreNotActive < StandardError
- end
+ RequestStoreNotActive = Class.new(StandardError)
class RequestContext
class << self