diff options
Diffstat (limited to 'lib/bundler/vendor/thor/invocation.rb')
-rw-r--r-- | lib/bundler/vendor/thor/invocation.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bundler/vendor/thor/invocation.rb b/lib/bundler/vendor/thor/invocation.rb index 9c645472..6315dd42 100644 --- a/lib/bundler/vendor/thor/invocation.rb +++ b/lib/bundler/vendor/thor/invocation.rb @@ -106,9 +106,7 @@ class Thor raise "Expected Thor class, got #{klass}" unless klass <= Thor::Base args, opts, config = _parse_initialization_options(args, opts, config) - klass.send(:dispatch, task, args, opts, config) do |instance| - instance.parent_options = options - end + klass.send(:dispatch, task, args, opts, config) end # Invoke the given task if the given args. |