Commit d63339ec authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fix update_hooks task

parent 4d24c3bb
......@@ -4,7 +4,7 @@ task :update_hooks => :environment do
Project.find_each(:batch_size => 100) do |project|
begin
if project.commit
project.repository.write_hooks
project.write_hooks
print ".".green
end
rescue Exception => e
......
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