lib/sym/app/output/stdout.rb in sym-2.6.2 vs lib/sym/app/output/stdout.rb in sym-2.6.3

- old
+ new

@@ -4,11 +4,11 @@ module Output class Stdout < ::Sym::App::Output::Base required_option nil def output_proc ->(argument) do - printf '%s', argument - printf "\n" if STDOUT.tty? + self.stdout.printf '%s', argument + self.stdout.printf "\n" if self.stdout.tty? end end end end end