Skip to content

Commit

Permalink
Merge pull request #10636 from nandahkrishna/fix-cask-eql
Browse files Browse the repository at this point in the history
Fix eql? in Cask::Cask
  • Loading branch information
nandahkrishna authored Feb 17, 2021
2 parents 7dc8025 + a0b7580 commit c454257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/cask.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def hash
end

def eql?(other)
token == other.token
instance_of?(other.class) && token == other.token
end
alias == eql?

Expand Down

0 comments on commit c454257

Please sign in to comment.