summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-11-13 17:56:25 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-11-26 15:11:05 +0900
commit7b66aee0b7277ea0b316630520f45e5938c26841 (patch)
tree63bbb415704cfc2bccfb01d7d93026c436133629
parent693a79352157ee925308f029e6c3c0cad202aee4 (diff)
[rubygems/rubygems] Set instance variables in consistent order
https://github.com/rubygems/rubygems/commit/c382b606bd
-rw-r--r--lib/bundler/definition.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 6a3be4a7f5..b45a39b03a 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -108,14 +108,14 @@ module Bundler
end
else
@unlock = {}
- @platforms = []
@locked_gems = nil
+ @locked_platforms = []
+ @platforms = []
@locked_deps = {}
@locked_specs = SpecSet.new([])
@originally_locked_deps = {}
@originally_locked_specs = @locked_specs
@locked_sources = []
- @locked_platforms = []
@locked_checksums = Bundler.feature_flag.lockfile_checksums?
end