From 592a9ccdd30a956bf22f903fdb13da4d6a516faf Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Wed, 25 May 2016 09:28:08 +0300 Subject: Fix git, String refers to Oxidized::String Fixes #429 --- lib/oxidized/output/git.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb index 9bd8d94..8d9dae1 100644 --- a/lib/oxidized/output/git.rb +++ b/lib/oxidized/output/git.rb @@ -164,7 +164,7 @@ class Git < Output if @cfg.single_repo? file = File.join @opt[:group], file else - repo = if repo.is_a?(String) + repo = if repo.is_a?(::String) File.join File.dirname(repo), @opt[:group] + '.git' else repo[@opt[:group]] -- cgit v1.2.1