From 55f78455d19ac05e8a6d111eca367952d42629d9 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Fri, 20 May 2016 00:18:55 +0300 Subject: fixes #423 --- lib/oxidized/output/git.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/output') 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 -- cgit v1.2.1