Showing 1 of 1 total issue
Function streamCopyDir
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function streamCopyDir (src, dest, plugin) {
var app = new utils.dir.CreateReaddirStream()
return app.createReaddirStream(src)
.pipe(utils.through2.obj(function (file, enc, cb) {
fs.stat(file.path, function (err, stats) {