diff --git a/Library/Homebrew/version.rb b/Library/Homebrew/version.rb index b55b575f3f..4232513165 100644 --- a/Library/Homebrew/version.rb +++ b/Library/Homebrew/version.rb @@ -13,9 +13,6 @@ class Version include Comparable def self.create(val) - return NULL_TOKEN if val.nil? - return NULL_TOKEN if val.respond_to?(:null?) && val.null? - raise TypeError, "Token value must be a string; got a #{val.class} (#{val})" unless val.respond_to?(:to_str) case val