summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-25 18:27:57 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-25 18:27:57 +0900
commitc775ab5e2892a86e89cebc2c2d16e7b0fd190f19 (patch)
treed683e7ecb9fbb0490c992b409c39ba91e0196240
parentcc6fe1524122ba7d890129c7fdbfd28edba198bf (diff)
`local_path?` is a class method [ci skip]
-rw-r--r--tool/lib/vcs.rb2
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