Call ruby's 'abort' if the site is unhealthy
This commit is contained in:
parent
318a379747
commit
7d26be5102
|
@ -6,7 +6,9 @@ module Jekyll
|
||||||
site = Jekyll::Site.new(options)
|
site = Jekyll::Site.new(options)
|
||||||
site.read
|
site.read
|
||||||
|
|
||||||
unless unhealthy(site)
|
if unhealthy(site)
|
||||||
|
abort
|
||||||
|
else
|
||||||
Jekyll.logger.info "Your test results", "are in. Everything looks fine."
|
Jekyll.logger.info "Your test results", "are in. Everything looks fine."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue