mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Rename major to common
This commit is contained in:
@@ -90,8 +90,8 @@ module Linguist
|
||||
|
||||
language = blob.language
|
||||
|
||||
# Only include common langauges
|
||||
if language && language.common?
|
||||
# Only include major langauges
|
||||
if language && language.major?
|
||||
@sizes[language] += blob.size
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user