diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-12 16:04:51 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-12 16:04:51 +0200 |
commit | addcbd446066d0da1627112814e3ce1b8d404da0 (patch) | |
tree | 55a4a46e10e89afb185b014f28d4d769c0144948 /bin/coderay | |
parent | 7d2c3e59d1691bcde16fc3e51d92797bfc9a2442 (diff) | |
parent | 40bd2ef5d33d32c3b3987da1d115b717259819e4 (diff) | |
download | coderay-addcbd446066d0da1627112814e3ce1b8d404da0.tar.gz |
Merge branch 'master' into go-scanner
Diffstat (limited to 'bin/coderay')
-rwxr-xr-x | bin/coderay | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/coderay b/bin/coderay index d78cd57..9aecb88 100755 --- a/bin/coderay +++ b/bin/coderay @@ -125,7 +125,7 @@ when 'highlight', nil end if output_file - output_format ||= CodeRay::FileType[output_file] + output_format ||= CodeRay::FileType[output_file] || :plain else output_format ||= :terminal end @@ -143,7 +143,6 @@ when 'highlight', nil if output_file File.open output_file, 'w' else - $stdout.sync = true $stdout end CodeRay.encode(input, input_lang, output_format, :out => file) |