tasks/util/stream.js
function pipeFileArray (arr) {
    testPipeFile();

    // Just end WriteStream if no files need to be read to keep default pipe behavior.
    if (arr.length === 0) {
        writable.end();
    } else {
        iterateData.collection = arr;

        iteratePipeFile();
    }
}
function pipeFileArray (arr) {
    testPipeFile();

    // Just end WriteStream if no files need to be read to keep default pipe behavior.
    if (arr.length === 0) {
        writable.end();
    } else {
        iterateData.collection = arr;

        iteratePipeFile();
    }
}
function pipeFileArray ( arr ) { testPipeFile ( ) ; // Just end WriteStream if no files need to be read to keep default pipe behavior. if ( arr . length === 0 ) { writable . end ( ) ; } else { iterateData . collection = arr ; iteratePipeFile ( ) ; } }
Pipe files recursively and then end WriteStream.

@function pipeFileArray
@param {Array} arr
@api public
Pipe files recursively and then end WriteStream .