fix update_hooks task
This commit is contained in:
parent
4d24c3bb21
commit
d63339ec2f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue