aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/dep_proxy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/dep_proxy.rb')
-rw-r--r--lib/bundler/dep_proxy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/dep_proxy.rb b/lib/bundler/dep_proxy.rb
index 998975bbaf..7a9423b14a 100644
--- a/lib/bundler/dep_proxy.rb
+++ b/lib/bundler/dep_proxy.rb
@@ -1,4 +1,5 @@
# frozen_string_literal: true
+
module Bundler
class DepProxy
attr_reader :__platform, :dep
@@ -13,6 +14,7 @@ module Bundler
end
def ==(other)
+ return if other.nil?
dep == other.dep && __platform == other.__platform
end