lib/sprout/executable/session.rb in sprout-1.1.11.pre vs lib/sprout/executable/session.rb in sprout-1.1.13.pre
- old
+ new
@@ -246,10 +246,10 @@
# Sprout::Executable template method so that we
# create a 'task' instead of a 'file' task.
#
# @return [Rake::Task]
def create_outer_task *args
- task *args do
+ Rake::Task.define_task *args do
execute
end
end
##