Fix satellite check for projects with empty repo

Fixes #2349
This commit is contained in:
Riyad Preukschas 2012-12-23 20:47:31 +01:00
parent 02a29d1db4
commit 3bf0b4e25b

View file

@ -189,6 +189,8 @@ namespace :gitlab do
if project.satellite.exists?
puts "yes".green
elsif project.empty_repo?
puts "can't create, repository is empty".magenta
else
puts "no".red
try_fixing_it(