summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/hook/githubrepo.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/oxidized/hook/githubrepo.rb b/lib/oxidized/hook/githubrepo.rb
index 0c75c68..7fc6677 100644
--- a/lib/oxidized/hook/githubrepo.rb
+++ b/lib/oxidized/hook/githubrepo.rb
@@ -55,15 +55,10 @@ class GithubRepo < Oxidized::Hook
end
def remote_repo(node)
- if node.group.nil? || single_repo?
+ if node.group.nil? || cfg.remote_repo.is_a?(String)
cfg.remote_repo
else
cfg.remote_repo[node.group]
end
end
-
- def single_repo?
- Oxidized.config.output.git.single_repo?
- end
-
end