summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2016-05-25 09:28:08 +0300
committerSaku Ytti <saku@ytti.fi>2016-05-25 09:28:08 +0300
commit592a9ccdd30a956bf22f903fdb13da4d6a516faf (patch)
tree6cf430fac82418b48bbe03f03b3a56c3c73c86fd
parent731213142eabae0c78aeb2c3adafc5ccd4c22561 (diff)
Fix git, String refers to Oxidized::String
Fixes #429
-rw-r--r--lib/oxidized/output/git.rb2
1 files changed, 1 insertions, 1 deletions
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]]