Commit 9ccd8e26 authored by Stan Hu's avatar Stan Hu

Verify repository is valid

parent 01fe901e
...@@ -79,7 +79,7 @@ Sidekiq::Testing.inline! do ...@@ -79,7 +79,7 @@ Sidekiq::Testing.inline! do
# the `after_commit` queue to ensure the job is run now. # the `after_commit` queue to ensure the job is run now.
project.send(:_run_after_commit_queue) project.send(:_run_after_commit_queue)
if project.valid? if project.valid? && project.valid_repo?
print '.' print '.'
else else
puts project.errors.full_messages puts project.errors.full_messages
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment