mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Detect VCS from the current directory by default [ci skip]
This commit is contained in:
parent
0d1af9f942
commit
75d9fa8b07
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue