summaryrefslogtreecommitdiff
path: root/danger/specialization_labels/Dangerfile
diff options
context:
space:
mode:
Diffstat (limited to 'danger/specialization_labels/Dangerfile')
-rw-r--r--danger/specialization_labels/Dangerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/danger/specialization_labels/Dangerfile b/danger/specialization_labels/Dangerfile
index 24a759cddc8..cb4c8c96f4f 100644
--- a/danger/specialization_labels/Dangerfile
+++ b/danger/specialization_labels/Dangerfile
@@ -14,7 +14,7 @@ SPECIALIZATIONS = {
feature_flag: 'feature flag'
}.freeze
-labels_to_add = project_helper.changes_by_category.each_with_object([]) do |(category, _changes), memo|
+labels_to_add = helper.changes_by_category.each_with_object([]) do |(category, _changes), memo|
label = SPECIALIZATIONS[category]
next unless label
next if gitlab.mr_labels.include?(label)