Method: Jekyll::Commands::Doctor.process
- Defined in:
- lib/jekyll/commands/doctor.rb
.process(options) ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/jekyll/commands/doctor.rb', line 22 def process() site = Jekyll::Site.new(()) site.reset site.read site.generate if healthy?(site) Jekyll.logger.info "Your test results", "are in. Everything looks fine." else abort end end |