From c775ab5e2892a86e89cebc2c2d16e7b0fd190f19 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 25 Aug 2019 18:27:57 +0900 Subject: [PATCH] `local_path?` is a class method [ci skip] --- tool/lib/vcs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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