mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
Unknown is impossible
This commit is contained in:
@@ -17,10 +17,8 @@ elsif File.file?(path)
|
||||
'Text'
|
||||
elsif blob.image?
|
||||
'Image'
|
||||
elsif blob.binary?
|
||||
'Binary'
|
||||
else
|
||||
'???'
|
||||
'Binary'
|
||||
end
|
||||
|
||||
puts "#{blob.name}: #{blob.loc} lines (#{blob.sloc} sloc)"
|
||||
|
||||
Reference in New Issue
Block a user