From 69bfe731659c90b8f13d9486ca08ccb7ed0ec518 Mon Sep 17 00:00:00 2001 From: Ted Nyman Date: Sun, 16 Feb 2014 19:43:33 -0800 Subject: [PATCH] Not yet on the additional binary check --- lib/linguist/blob_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/blob_helper.rb b/lib/linguist/blob_helper.rb index f3a6d5de..37793a36 100644 --- a/lib/linguist/blob_helper.rb +++ b/lib/linguist/blob_helper.rb @@ -291,7 +291,7 @@ module Linguist data = lambda { (binary_mime_type? || binary?) ? "" : self.data } end - @language = binary? ? nil : Language.detect(name.to_s, data, mode) + @language = Language.detect(name.to_s, data, mode) end # Internal: Get the lexer of the blob.