aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2011-06-25 14:02:15 -0500
committerJoshua Peek <josh@joshpeek.com>2011-06-25 14:02:15 -0500
commit101a500dbd297a16dbfd6d99ba7b8590bd1757cb (patch)
treec117c17626650b54f479c81490c1a9e8b5633959 /bin
parent4030d397db31b70783fb86b6f6368d0c0831edc3 (diff)
Unknown is impossible
Diffstat (limited to 'bin')
-rwxr-xr-xbin/linguist4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/linguist b/bin/linguist
index c726d71..b7434b7 100755
--- a/bin/linguist
+++ b/bin/linguist
@@ -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)"