summaryrefslogtreecommitdiff
path: root/danger/eslint/Dangerfile
diff options
context:
space:
mode:
Diffstat (limited to 'danger/eslint/Dangerfile')
-rw-r--r--danger/eslint/Dangerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/danger/eslint/Dangerfile b/danger/eslint/Dangerfile
index 92830bd7706..6564c83188e 100644
--- a/danger/eslint/Dangerfile
+++ b/danger/eslint/Dangerfile
@@ -13,7 +13,7 @@ return if eslint_candidates.empty?
warn 'This merge request changed files with disabled eslint rules. Please consider fixing them.'
-if GitlabDanger.new(helper.gitlab_helper).ci?
+if helper.ci?
markdown(<<~MARKDOWN)
## Disabled eslint rules