mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Try strategies until one language is returned
This commit is contained in:
@@ -4,7 +4,7 @@ module Linguist
|
||||
ACTIVE = true
|
||||
|
||||
def self.call(blob, languages)
|
||||
find_by_heuristics(blob.data, langauges.map(&:name))
|
||||
find_by_heuristics(blob.data, languages.map(&:name))
|
||||
end
|
||||
|
||||
# Public: Given an array of String language names,
|
||||
|
||||
Reference in New Issue
Block a user