turboladen/tailor

Add pre-check to see if file is valid Ruby

Closed this issue · 0 comments

You'll get some bizarro results from tailor if you parse non-Ruby files. It'll parse it, but the results probably won't make much sense. Try to sexp parse--if it fails, give an error (don't bomb out) like the rest.