mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-07-31 09:49:37 +00:00
cleanup
This commit is contained in:
@@ -77,7 +77,7 @@ if options["-f"]
|
||||
|
||||
if formatter.is_a?(Tartrazine::Html) && options["--css"]
|
||||
File.open("#{options["-t"].as(String)}.css", "w") do |outf|
|
||||
outf.puts formatter.style_defs
|
||||
outf << formatter.style_defs
|
||||
end
|
||||
exit 0
|
||||
end
|
||||
@@ -91,7 +91,7 @@ if options["-f"]
|
||||
puts output
|
||||
else
|
||||
File.open(options["-o"].as(String), "w") do |outf|
|
||||
outf.puts output
|
||||
outf << output
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user