Skip to content

Commit

Permalink
Remove custom rubocop command so that Danger runs it with `bundle exe…
Browse files Browse the repository at this point in the history
…c` (#23854)
  • Loading branch information
iangmaia authored Nov 22, 2024
1 parent 7695cf3 commit 63a60a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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_all_manifest_lock_updated

Expand Down

0 comments on commit 63a60a6

Please sign in to comment.