diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-16 01:01:12 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-16 01:01:12 +0200 |
commit | cb41b00d5673312f4982e914883f9cea95f2ccae (patch) | |
tree | fea5059b331244efd4400e36e5ba288a5a0bddc1 /bin | |
parent | 8e67efef5b412b16d755fb47538e24a2b6bafce0 (diff) | |
download | coderay-cb41b00d5673312f4982e914883f9cea95f2ccae.tar.gz |
cleanup TODOs, FIXMEs
Diffstat (limited to 'bin')
-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 |