summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-06-16 01:01:12 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-06-16 01:01:12 +0200
commitcb41b00d5673312f4982e914883f9cea95f2ccae (patch)
treefea5059b331244efd4400e36e5ba288a5a0bddc1 /bin
parent8e67efef5b412b16d755fb47538e24a2b6bafce0 (diff)
downloadcoderay-cb41b00d5673312f4982e914883f9cea95f2ccae.tar.gz
cleanup TODOs, FIXMEs
Diffstat (limited to 'bin')
-rwxr-xr-xbin/coderay5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/coderay b/bin/coderay
index 9aecb88..889ae72 100755
--- a/bin/coderay
+++ b/bin/coderay
@@ -155,8 +155,9 @@ when 'highlight', nil
puts boom.message
end
# puts "I don't know this plugin: #{boom.message[/Could not load plugin (.*?): /, 1]}."
- rescue CodeRay::Scanners::Scanner::ScanError # FIXME: rescue Errno::EPIPE
- # this is sometimes raised by pagers; ignore [TODO: wtf?]
+ rescue CodeRay::Scanners::Scanner::ScanError
+ # this is sometimes raised by pagers; ignore
+ # FIXME: rescue Errno::EPIPE
ensure
file.close if output_file
end