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