aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/vendor/thor/invocation.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/vendor/thor/invocation.rb')
-rw-r--r--lib/bundler/vendor/thor/invocation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/vendor/thor/invocation.rb b/lib/bundler/vendor/thor/invocation.rb
index 4a081839..73c8bb5d 100644
--- a/lib/bundler/vendor/thor/invocation.rb
+++ b/lib/bundler/vendor/thor/invocation.rb
@@ -156,7 +156,7 @@ class Thor
raise "Expected Thor class, got #{klass}" unless klass <= Thor::Base
task ||= klass.default_task if klass.respond_to?(:default_task)
- task = klass.all_tasks[task.to_s] || Thor::Task::Dynamic.new(task) if task && !task.is_a?(Thor::Task)
+ task = klass.all_tasks[task.to_s] || Thor::DynamicTask.new(task) if task && !task.is_a?(Thor::Task)
task
end