File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -759,7 +759,7 @@ namespace :gitlab do
759
759
print "#{ project . name_with_namespace . yellow } ... "
760
760
761
761
correct_options = options . map do |name , value |
762
- run ( "git --git-dir=\" #{ project . path_to_repo } \" config --get #{ name } " ) . try ( :chomp ) == value
762
+ run ( "git --git-dir=\" #{ project . repository . path_to_repo } \" config --get #{ name } " ) . try ( :chomp ) == value
763
763
end
764
764
765
765
if correct_options . all?
@@ -798,7 +798,7 @@ namespace :gitlab do
798
798
799
799
Project . find_each ( batch_size : 100 ) do |project |
800
800
print "#{ project . name_with_namespace . yellow } ... "
801
- project_hook_file = File . join ( project . path_to_repo , "hooks" , hook_file )
801
+ project_hook_file = File . join ( project . repository . path_to_repo , "hooks" , hook_file )
802
802
803
803
unless File . exists? ( project_hook_file )
804
804
puts "missing" . red
You can’t perform that action at this time.
0 commit comments