Commit d63339ec2fb772a9cb214a300c0ff6dc684e99b2

Authored by Dmitriy Zaporozhets
1 parent 4d24c3bb

fix update_hooks task

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/update_hooks.rake
... ... @@ -4,7 +4,7 @@ task :update_hooks => :environment do
4 4 Project.find_each(:batch_size => 100) do |project|
5 5 begin
6 6 if project.commit
7   - project.repository.write_hooks
  7 + project.write_hooks
8 8 print ".".green
9 9 end
10 10 rescue Exception => e
... ...