Commit b60b9094 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Always check the wiki too

parent da87fa8a
......@@ -14,9 +14,10 @@ class SingleRepositoryCheckWorker
private
def check(project)
[project.repository, project.wiki.repository].all? do |repository|
# Use 'map do', not 'all? do', to prevent short-circuiting
[project.repository, project.wiki.repository].map do |repository|
git_fsck(repository.path_to_repo)
end
end.all?
end
def git_fsck(path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment