diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-25 18:27:57 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-25 18:27:57 +0900 |
commit | c775ab5e2892a86e89cebc2c2d16e7b0fd190f19 (patch) | |
tree | d683e7ecb9fbb0490c992b409c39ba91e0196240 | |
parent | cc6fe1524122ba7d890129c7fdbfd28edba198bf (diff) |
`local_path?` is a class method [ci skip]
-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 a55b5815b4..15ec4c16db 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -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 |