From 6d8fc34acebe960112f49209b0e8ec28c18457c7 Mon Sep 17 00:00:00 2001 From: Ian Maia Date: Thu, 21 Nov 2024 22:41:34 +0100 Subject: [PATCH] Remove custom rubocop command so that Danger runs it with `bundle exec` --- Dangerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dangerfile b/Dangerfile index ef55a1240632..d439496653f9 100644 --- a/Dangerfile +++ b/Dangerfile @@ -3,8 +3,7 @@ github.dismiss_out_of_range_messages # `files: []` forces rubocop to scan all files, not just the ones modified in the PR -# Added a custom `rubocop_cmd` to prevent RuboCop from running using `bundle exec`, which we don't want on the linter agent -rubocop.lint(files: [], force_exclusion: true, inline_comment: true, fail_on_inline_comment: true, include_cop_names: true, rubocop_cmd: ': | rubocop') +rubocop.lint(files: [], force_exclusion: true, inline_comment: true, fail_on_inline_comment: true, include_cop_names: true) manifest_pr_checker.check_gemfile_lock_updated