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>2017-08-08 17:20:16 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-08-08 17:20:16 +0300
commite26acdb11bef56360247a73c07be56784c52febe (patch)
tree741d941903d1b373550645e71f1881518a4c43c7 /lib/tasks/gitlab/helpers.rake
parentfafd6a0a0a4da1d99e2233c79bce3baf24447236 (diff)
Just extend main, rather than include to Kernel
Unfortunately rake doesn't have nested context, everything just runs on a main rake object. This is probably due to compatibility issue, but anyway, we could just extend the object.
Diffstat (limited to 'lib/tasks/gitlab/helpers.rake')
-rw-r--r--lib/tasks/gitlab/helpers.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/helpers.rake b/lib/tasks/gitlab/helpers.rake
index dd2d5861481..b0a24790c4a 100644
--- a/lib/tasks/gitlab/helpers.rake
+++ b/lib/tasks/gitlab/helpers.rake
@@ -4,5 +4,5 @@ require 'tasks/gitlab/task_helpers'
StateMachines::Machine.ignore_method_conflicts = true if ENV['CRON']
namespace :gitlab do
- include Gitlab::TaskHelpers
+ extend SystemCheck::Helpers
end