Open aalmiray opened 9 years ago
Yes it seems we should check if directories exists or not. If not let's throw an exception so no Ruby stack traces are shown.
Let's verify the directory in Asciidoctor Ruby as well. No harm in checking it at both layers for an improved error message, of course.
Based on https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/81#issuecomment-66122387 it looks like the value of
template_dirs
is not properly validated. Other file based values should be checked too.