summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-08-08 23:14:29 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-08-08 23:14:29 +0800
commit5d963fccab8732dbd5ee54579d3afbcd47131ca6 (patch)
tree17c6aea196ecfb2c51eef142201c65579c5a29b8 /lib/tasks
parente26acdb11bef56360247a73c07be56784c52febe (diff)
downloadgitlab-ce-5d963fccab8732dbd5ee54579d3afbcd47131ca6.tar.gz
We shouldn't include utility methods everywhere
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/task_helpers.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/task_helpers.rb b/lib/tasks/gitlab/task_helpers.rb
index 28b2d86eed2..d85b810ac66 100644
--- a/lib/tasks/gitlab/task_helpers.rb
+++ b/lib/tasks/gitlab/task_helpers.rb
@@ -5,6 +5,8 @@ module Gitlab
TaskAbortedByUserError = Class.new(StandardError)
module TaskHelpers
+ extend self
+
# Ask if the user wants to continue
#
# Returns "yes" the user chose to continue