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:
Diffstat (limited to 'lib/tasks/gitlab_danger.rake')
-rw-r--r--lib/tasks/gitlab_danger.rake6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tasks/gitlab_danger.rake b/lib/tasks/gitlab_danger.rake
index 5df4a8ce4f1..ff9464a588a 100644
--- a/lib/tasks/gitlab_danger.rake
+++ b/lib/tasks/gitlab_danger.rake
@@ -2,16 +2,16 @@
desc 'Run local Danger rules'
task :danger_local do
- require_relative '../../tooling/gitlab_danger'
+ require_relative '../../tooling/danger/project_helper'
require 'gitlab/popen'
- puts("#{GitlabDanger.local_warning_message}\n")
+ puts("#{Tooling::Danger::ProjectHelper.local_warning_message}\n")
# _status will _always_ be 0, regardless of failure or success :(
output, _status = Gitlab::Popen.popen(%w{danger dry_run})
if output.empty?
- puts(GitlabDanger.success_message)
+ puts(Tooling::Danger::ProjectHelper.success_message)
else
puts(output)
exit(1)