Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert change that is not in rake 0.9.2
  • Loading branch information
drbrain committed Aug 4, 2011
1 parent 5842081 commit 5b1df80
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions lib/rake/application.rb
Expand Up @@ -85,12 +85,14 @@ def load_rakefile

# Run the top level tasks of a Rake application.
def top_level
if options.show_tasks
display_tasks_and_comments
elsif options.show_prereqs
display_prerequisites
else
top_level_tasks.each { |task_name| invoke_task(task_name) }
standard_exception_handling do
if options.show_tasks
display_tasks_and_comments
elsif options.show_prereqs
display_prerequisites
else
top_level_tasks.each { |task_name| invoke_task(task_name) }
end
end
end

Expand Down

0 comments on commit 5b1df80

Please sign in to comment.