diff options
author | Sutou Kouhei <kou@clear-code.com> | 2020-01-15 06:51:34 +0900 |
---|---|---|
committer | Sutou Kouhei <kou@clear-code.com> | 2020-01-15 06:51:34 +0900 |
commit | 6cc2fbe7dc7f089d13381922e082f7c119e4dd77 (patch) | |
tree | be2269deb3664b8f917b4d4c80c24c523376ee00 /lib | |
parent | fd11bd3089122ea332e0637fa00d4b0149c2b53f (diff) | |
download | bundler-6cc2fbe7dc7f089d13381922e082f7c119e4dd77.tar.gz |
Fix style
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/resolver.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/resolver.rb b/lib/bundler/resolver.rb index d9c31a7645..357d9a312a 100644 --- a/lib/bundler/resolver.rb +++ b/lib/bundler/resolver.rb @@ -151,8 +151,8 @@ module Bundler spec = sg.spec_for(platform) next if spec.nil? spec_platform = spec.platform - if (spec_platform && spec_platform != Gem::Platform::RUBY) || - platform != Gem::Platform::RUBY + if (platform != Gem::Platform::RUBY) || + (spec_platform && spec_platform != Gem::Platform::RUBY) # Add a spec group for "non platform specific spec" as the fallback # spec group. sg_ruby = sg.copy_for(Gem::Platform::RUBY) |