summaryrefslogtreecommitdiff
path: root/lib/oxidized/output
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/output')
-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 d0083f5..e7725f9 100644
--- a/lib/oxidized/output/git.rb
+++ b/lib/oxidized/output/git.rb
@@ -38,7 +38,7 @@ class Git < Output
type_file = type + '/' + type_file
type_repo = repo
end
- update type_repo, type_file, output
+ update type_repo, type_file, output unless output.empty?
end
update type_repo, file, type_cfg unless type_cfg.empty?
end