summaryrefslogtreecommitdiff
path: root/bin/coderay
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-06-16 01:18:34 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-06-16 01:18:34 +0200
commita6ddf469fadefcd61bf6bb079160d538f02ef427 (patch)
treef4eabf724edce1f6d512b0f7cebb2747d9bf6a73 /bin/coderay
parente423275749744fb2cf768087a07b4c839eaf4734 (diff)
parentdc9528456008216c265cfb6613cfa459c3c9ffad (diff)
downloadcoderay-a6ddf469fadefcd61bf6bb079160d538f02ef427.tar.gz
Merge branch 'master' into remove-dump
Conflicts: lib/coderay/tokens.rb
Diffstat (limited to 'bin/coderay')
-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