danger-rubocop icon indicating copy to clipboard operation
danger-rubocop copied to clipboard

Add parameter to skip `bundle exec` prefix when running Rubocop

Open iangmaia opened this issue 10 months ago • 0 comments

I came across the following situation: I needed to run Rubocop from a CI agent, specifically not running it using Bundler as I don't want to install any other of the project's gems.

This led to a failure as danger-rubocop always uses bundle exec when there is a Gemfile in the project.

This PR adds a parameter to force danger-rubocop not to append bundle exec even when a Gemfile is present.

iangmaia avatar Apr 24 '24 20:04 iangmaia