Commit 3bf0b4e25b4fa4bc865167542391cbd29e40cb53

Authored by Riyad Preukschas
1 parent 02a29d1d

Fix satellite check for projects with empty repo

Fixes #2349
Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
lib/tasks/gitlab/check.rake
... ... @@ -189,6 +189,8 @@ namespace :gitlab do
189 189  
190 190 if project.satellite.exists?
191 191 puts "yes".green
  192 + elsif project.empty_repo?
  193 + puts "can't create, repository is empty".magenta
192 194 else
193 195 puts "no".red
194 196 try_fixing_it(
... ...