Commit a6c937a77918f019967862a337dcda7a9ae1a026
1 parent
5b0d6ac8
Exists in
master
and in
4 other branches
temp fix for project hooks
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/repository.rb
@@ -64,7 +64,7 @@ class Repository | @@ -64,7 +64,7 @@ class Repository | ||
64 | c.update_project(path, project) | 64 | c.update_project(path, project) |
65 | end | 65 | end |
66 | 66 | ||
67 | - write_hooks | 67 | + write_hooks if File.exists?(project.path_to_repo) |
68 | end | 68 | end |
69 | 69 | ||
70 | def destroy_repository | 70 | def destroy_repository |