diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2015-11-26 13:02:51 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2015-11-26 13:02:51 -0600 |
commit | 046f2831c1518519c47b8b5be97c1ed8aef4e58c (patch) | |
tree | 627f6dad18e7a17bcaf9eaed734e5eb2ab4b114d /lib/bundler | |
parent | dc22a6eb568639174abb0b0c70c3614c0aabfa0d (diff) | |
download | bundler-046f2831c1518519c47b8b5be97c1ed8aef4e58c.tar.gz |
[RuboCop] Enable Lint/NonLocalExitFromIterator
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/rubygems_integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb index 22143ec5..96b91016 100644 --- a/lib/bundler/rubygems_integration.rb +++ b/lib/bundler/rubygems_integration.rb @@ -282,7 +282,7 @@ module Bundler ::Kernel.send(:define_method, :gem) do |dep, *reqs| if executables.include? File.basename(caller.first.split(":").first) - return + break end reqs.pop if reqs.last.is_a?(Hash) |