function cleaner(name, glob) {
    const cleaner = function(cb) {
        const deletedFiles = del.sync(glob, cb());
        for (let file of deletedFiles) {
            console.log(`Deleting ${file}`);
        }
    };
    cleaner.displayName = `${name}Clean`;

    return cleaner;
}
/**
 * Generate a preprocessing task that cleans a particular filepath glob.
 */
Generate a preprocessing task that cleans a particular filepath glob.
Generate a preprocessing task that cleans a particular filepath glob .
function cleaner(name, glob) {
    const cleaner = function(cb) {
        const deletedFiles = del.sync(glob, cb());
        for (let file of deletedFiles) {
            console.log(`Deleting ${file}`);
        }
    };
    cleaner.displayName = `${name}Clean`;
    return cleaner;
}
function cleaner ( name , glob ) { const cleaner = function ( cb ) { const deletedFiles = del . sync ( glob , cb ( ) ) ; for ( let file of deletedFiles ) { console . log ( ` ${ file } ` ) ; } } ; cleaner . displayName = ` ${ name } ` ; return cleaner ; }
Generate a preprocessing task that cleans a particular filepath glob.
Generate a preprocessing task that cleans a particular filepath glob .