Fixes empty directory issue This solves an issue where if the src directory is empty, or no matching files end up getting passed through and the concat option was set, it would still pass in an empty array into the minify method and try to minify a non-string. This checks if the files array has a length before arrayifying it.
Fixes empty directory issue
This solves an issue where if the src directory is empty, or no matching files
end up getting passed through and the concat option was set, it would still pass in
an empty array into the minify method and try to minify a non-string. This checks
if the files array has a length before arrayifying it.

ksmithut/metalsmith-uglify