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/gitlab/danger/changelog.rb')
-rw-r--r--lib/gitlab/danger/changelog.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitlab/danger/changelog.rb b/lib/gitlab/danger/changelog.rb
index 92af6849b2f..4b85775ed98 100644
--- a/lib/gitlab/danger/changelog.rb
+++ b/lib/gitlab/danger/changelog.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+require_relative 'title_linting'
+
module Gitlab
module Danger
module Changelog
@@ -75,7 +77,7 @@ module Gitlab
end
def sanitized_mr_title
- helper.sanitize_mr_title(gitlab.mr_json["title"])
+ TitleLinting.sanitize_mr_title(gitlab.mr_json["title"])
end
def categories_need_changelog?