cryptic panic when there are no CSS or no JS files
kenegozi opened this issue · comments
Ken Egozi commented
When train is executed when there are no CSS or no JS files, YUI compressor fails, and the error reporting is unclear:
YUI Compressor error:
...
panic: exit status 1
...
stacktraces, stacktraces everywhere!
suggested solution is to check for len() of []files, skip YUI if 0, and report.
Shaoshing Li commented
The issues has been fixed. Thank you for the report.