Remove unneded empty blob check

This commit is contained in:
Brandon Keepers
2014-11-27 10:55:03 -05:00
parent 9efd923382
commit a4081498f8
2 changed files with 0 additions and 13 deletions

View File

@@ -1,11 +0,0 @@
module Linguist
module Strategy
# Stops detection if the blob contents are empty
class EmptyBlob
def self.call(blob, langauges)
# Return empty array to stop detection
[] if blob.data.nil? || blob.data == ""
end
end
end
end