Skip to content

Commit

Permalink
Direct banner output to STDOUT when using --trace option
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Kieltyka committed Oct 31, 2011
1 parent 47c6d8a commit ab961e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rake/task.rb
Expand Up @@ -150,7 +150,7 @@ def invoke_with_call_chain(task_args, invocation_chain) # :nodoc:
new_chain = InvocationChain.append(self, invocation_chain) new_chain = InvocationChain.append(self, invocation_chain)
@lock.synchronize do @lock.synchronize do
if application.options.trace if application.options.trace
$stderr.puts "** Invoke #{name} #{format_trace_flags}" $stdout.puts "** Invoke #{name} #{format_trace_flags}"
end end
return if @already_invoked return if @already_invoked
@already_invoked = true @already_invoked = true
Expand Down Expand Up @@ -194,7 +194,7 @@ def execute(args=nil)
return return
end end
if application.options.trace if application.options.trace
$stderr.puts "** Execute #{name}" $stdout.puts "** Execute #{name}"
end end
application.enhance_with_matching_rule(name) if @actions.empty? application.enhance_with_matching_rule(name) if @actions.empty?
@actions.each do |act| @actions.each do |act|
Expand Down

0 comments on commit ab961e4

Please sign in to comment.