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:
authorLin Jen-Shin <godfat@godfat.org>2018-08-31 20:23:22 +0300
committerLin Jen-Shin <godfat@godfat.org>2018-09-11 13:45:49 +0300
commite8a455dc92540fd71abb6131c6e31ab1971b96f7 (patch)
treea407b580bc5255a45b2e9015ec645f11143c6c7a /lib/gitlab/utils
parentd6c4bc468872c0c3ecf2792a52e801e67bafccd7 (diff)
Following the feedbacks
Diffstat (limited to 'lib/gitlab/utils')
-rw-r--r--lib/gitlab/utils/override.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/utils/override.rb b/lib/gitlab/utils/override.rb
index 5be34e6b520..d00921e6cdc 100644
--- a/lib/gitlab/utils/override.rb
+++ b/lib/gitlab/utils/override.rb
@@ -89,19 +89,19 @@ module Gitlab
def included(base = nil)
super
- queue_verification(base)
+ queue_verification(base) if base
end
def prepended(base = nil)
super
- queue_verification(base)
+ queue_verification(base) if base
end
def extended(mod = nil)
super
- queue_verification(mod.singleton_class)
+ queue_verification(mod.singleton_class) if mod
end
def queue_verification(base)