summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/definition.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 4cae6cd892..31b9517693 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -476,9 +476,6 @@ module Bundler
end
end
- attr_reader :sources
- private :sources
-
def nothing_changed?
return false unless lockfile_exists?
@@ -504,6 +501,8 @@ module Bundler
private
+ attr_reader :sources
+
def should_add_extra_platforms?
!lockfile_exists? && generic_local_platform_is_ruby? && !Bundler.settings[:force_ruby_platform]
end