danger-rubocop
danger-rubocop copied to clipboard
Add parameter to skip `bundle exec` prefix when running Rubocop
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.