summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1e32a5e..9bd8d94 100644
--- a/lib/oxidized/output/git.rb
+++ b/lib/oxidized/output/git.rb
@@ -112,7 +112,7 @@ class Git < Output
repo = @cfg.repo
if group && group != '' && !@cfg.single_repo?
repo = File.join File.dirname(repo), group + '.git'
- elsif group
+ elsif group && group != ''
node = File.join group, node
end
repo = Rugged::Repository.new repo