Not yet on the additional binary check

This commit is contained in:
Ted Nyman
2014-02-16 19:43:33 -08:00
parent 3429ddeaa1
commit 69bfe73165

View File

@@ -291,7 +291,7 @@ module Linguist
data = lambda { (binary_mime_type? || binary?) ? "" : self.data } data = lambda { (binary_mime_type? || binary?) ? "" : self.data }
end end
@language = binary? ? nil : Language.detect(name.to_s, data, mode) @language = Language.detect(name.to_s, data, mode)
end end
# Internal: Get the lexer of the blob. # Internal: Get the lexer of the blob.