Permalink
Browse files

Direct banner output to STDOUT when using --trace option

  • Loading branch information...
1 parent 47c6d8a commit ab961e4c30996e2d115141c72feeba808480daad Peter Kieltyka committed Oct 31, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rake/task.rb
View
@@ -150,7 +150,7 @@ def invoke_with_call_chain(task_args, invocation_chain) # :nodoc:
new_chain = InvocationChain.append(self, invocation_chain)
@lock.synchronize do
if application.options.trace
- $stderr.puts "** Invoke #{name} #{format_trace_flags}"
+ $stdout.puts "** Invoke #{name} #{format_trace_flags}"
end
return if @already_invoked
@already_invoked = true
@@ -194,7 +194,7 @@ def execute(args=nil)
return
end
if application.options.trace
- $stderr.puts "** Execute #{name}"
+ $stdout.puts "** Execute #{name}"
end
application.enhance_with_matching_rule(name) if @actions.empty?
@actions.each do |act|

0 comments on commit ab961e4

Please sign in to comment.