summaryrefslogtreecommitdiff
path: root/danger/database/Dangerfile
diff options
context:
space:
mode:
Diffstat (limited to 'danger/database/Dangerfile')
-rw-r--r--danger/database/Dangerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/danger/database/Dangerfile b/danger/database/Dangerfile
index b4e06c21fe4..0128f0fa195 100644
--- a/danger/database/Dangerfile
+++ b/danger/database/Dangerfile
@@ -65,7 +65,7 @@ if gitlab.mr_labels.include?('database') || db_paths_to_review.any?
markdown(DB_REMOVE_MESSAGE)
end
- unless helper.has_database_scoped_labels?
- project_helper.labels_to_add << 'database::review pending'
+ unless helper.has_scoped_label_with_scope?("database")
+ helper.labels_to_add << 'database::review pending'
end
end