lib/asciidoctor/cli/invoker.rb in asciidoctor-2.0.15 vs lib/asciidoctor/cli/invoker.rb in asciidoctor-2.0.16
- old
+ new
@@ -86,10 +86,9 @@
outfile ||= '-'
end
end
if outfile == '-'
- # NOTE set_encoding returns nil on JRuby 9.1
(tofile = @out) || ((tofile = $stdout).set_encoding UTF_8)
elsif outfile
opts[:mkdirs] = true
tofile = outfile
else