1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

local_path? is a class method [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2019-08-25 18:27:57 +09:00
parent cc6fe15241
commit c775ab5e28
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -270,7 +270,7 @@ class VCS
end
def _get_revisions(path, srcdir = nil)
if srcdir and local_path?(path)
if srcdir and self.class.local_path?(path)
path = File.join(srcdir, path)
end
if srcdir