Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

a == b if c is silly... just use &&

  • Loading branch information...
commit 1b5b9be9d3d3ad6bb91ab65e1cf48e204fc05ba5 1 parent 6d47899
@indirect indirect authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/bundler/rubygems_ext.rb
View
2  lib/bundler/rubygems_ext.rb
@@ -181,7 +181,7 @@ def generic(p)
GENERIC_CACHE[p] ||= begin
found = GENERICS.find do |p2|
- p.os == p2.os if p2.is_a?(Gem::Platform)
+ p2.is_a?(Gem::Platform) && p.os == p2.os
end
found || Gem::Platform::RUBY
end
Please sign in to comment.
Something went wrong with that request. Please try again.