diff options
-rw-r--r-- | tool/lib/vcs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index 0a3d54cc6f..9a90a04119 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -127,7 +127,7 @@ class VCS @@dirs << [dir, self, pred] end - def self.detect(path, options = {}, argv = ::ARGV) + def self.detect(path = '.', options = {}, argv = ::ARGV) uplevel_limit = options.fetch(:uplevel_limit, 0) curr = path begin |