fix update_hooks task

This commit is contained in:
Dmitriy Zaporozhets 2012-03-11 10:47:30 +02:00
parent 4d24c3bb21
commit d63339ec2f

View file

@ -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