summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-07-25 17:32:37 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-08-01 10:07:19 -0500
commitc6b33fbb5102ff396a9039a5744d5cd9487516da (patch)
treef5f1a92e64847b494f9c7168aa837ffbd9d3b27c
parent57759742c10d56c7bfedf7a4e7d0b9a1488c7a79 (diff)
downloadbundler-c6b33fbb5102ff396a9039a5744d5cd9487516da.tar.gz
[DepProxy] Allow == nil
-rw-r--r--lib/bundler/dep_proxy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/dep_proxy.rb b/lib/bundler/dep_proxy.rb
index 637534e255..7a9423b14a 100644
--- a/lib/bundler/dep_proxy.rb
+++ b/lib/bundler/dep_proxy.rb
@@ -14,6 +14,7 @@ module Bundler
end
def ==(other)
+ return if other.nil?
dep == other.dep && __platform == other.__platform
end