lib/review/tocprinter.rb in review-5.1.1 vs lib/review/tocprinter.rb in review-5.2.0
- old
+ new
@@ -255,10 +255,10 @@
compiler = ReVIEW::Compiler.new(ReVIEW::PLAINTEXTTocBuilder.new)
begin
compiler.compile(@book.chapter(chap.name))
rescue ReVIEW::ApplicationError => e
@logger.error e.message
- exit 1
+ ''
end
end
def parse_options(args)
opts = OptionParser.new