diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-16 01:18:34 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-16 01:18:34 +0200 |
commit | a6ddf469fadefcd61bf6bb079160d538f02ef427 (patch) | |
tree | f4eabf724edce1f6d512b0f7cebb2747d9bf6a73 /bin/coderay | |
parent | e423275749744fb2cf768087a07b4c839eaf4734 (diff) | |
parent | dc9528456008216c265cfb6613cfa459c3c9ffad (diff) | |
download | coderay-a6ddf469fadefcd61bf6bb079160d538f02ef427.tar.gz |
Merge branch 'master' into remove-dump
Conflicts:
lib/coderay/tokens.rb
Diffstat (limited to 'bin/coderay')
-rwxr-xr-x | bin/coderay | 5 |
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 |