summaryrefslogtreecommitdiff
path: root/lib/bundler/cli/outdated.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-19 17:01:36 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-10 12:08:14 +0200
commit3dc509e645abb497e4dc92a7c42be471ff87db0b (patch)
tree8d179caabaceb189dee89780c412a81032a91fcd /lib/bundler/cli/outdated.rb
parent785c7af1f332456be94e915ce514f7c9455de8e4 (diff)
downloadbundler-3dc509e645abb497e4dc92a7c42be471ff87db0b.tar.gz
Add all platforms to lockfile by default
Diffstat (limited to 'lib/bundler/cli/outdated.rb')
-rw-r--r--lib/bundler/cli/outdated.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb
index 857caf0a03..2075fe83c8 100644
--- a/lib/bundler/cli/outdated.rb
+++ b/lib/bundler/cli/outdated.rb
@@ -172,6 +172,8 @@ module Bundler
end
def retrieve_active_spec(strict, definition, current_spec)
+ return unless current_spec.match_platform(Bundler.local_platform)
+
if strict
active_spec = definition.find_resolved_spec(current_spec)
else