diff options
Diffstat (limited to 'lib/bundler/vendor/thor/lib/thor/nested_context.rb')
-rw-r--r-- | lib/bundler/vendor/thor/lib/thor/nested_context.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/vendor/thor/lib/thor/nested_context.rb b/lib/bundler/vendor/thor/lib/thor/nested_context.rb index fd36b9d43f..7d60cb1c12 100644 --- a/lib/bundler/vendor/thor/lib/thor/nested_context.rb +++ b/lib/bundler/vendor/thor/lib/thor/nested_context.rb @@ -13,10 +13,10 @@ class Bundler::Thor end def entered? - @depth > 0 + @depth.positive? end - private + private def push @depth += 1 |