From d63339ec2fb772a9cb214a300c0ff6dc684e99b2 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 11 Mar 2012 10:47:30 +0200 Subject: [PATCH] fix update_hooks task --- lib/tasks/update_hooks.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/update_hooks.rake b/lib/tasks/update_hooks.rake index 472023c8..8deaf958 100644 --- a/lib/tasks/update_hooks.rake +++ b/lib/tasks/update_hooks.rake @@ -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