We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39714d3 commit ff26de2Copy full SHA for ff26de2
lib/ruby_wasm/cli.rb
@@ -173,13 +173,13 @@ def do_print_ruby_cache_key(packager)
173
174
def do_build(executor, tmpdir, packager, options)
175
wasm_bytes = packager.package(executor, tmpdir, options)
176
- @stderr.puts "Size: #{SizeFormatter.format(wasm_bytes.size)}"
+ RubyWasm.logger.info "Size: #{SizeFormatter.format(wasm_bytes.size)}"
177
case options[:output]
178
when "-"
179
@stdout.write wasm_bytes.pack("C*")
180
else
181
File.binwrite(options[:output], wasm_bytes.pack("C*"))
182
- @stderr.puts "Wrote #{options[:output]}"
+ RubyWasm.logger.debug "Wrote #{options[:output]}"
183
end
184
185
0 commit comments