lib/fs.js
function() {
        var items = _utils.getArgArray(arguments);
        if (items.length === 0) {
            throw new Error('no files specified to clean up');
        }
        items.forEach(function(item) {
            try {
                var path = (typeof item === 'string') ? item : item.path;
                _fs.unlinkSync(path);
            } catch (e) {
                // Eat the exception.
            }
        });
    }
function() {
        var items = _utils.getArgArray(arguments);
        if (items.length === 0) {
            throw new Error('no files specified to clean up');
        }
        items.forEach(function(item) {
            try {
                var path = (typeof item === 'string') ? item : item.path;
                _fs.unlinkSync(path);
            } catch (e) {
                // Eat the exception.
            }
        });
    }
function ( ) { var items = _utils . getArgArray ( arguments ) ; if ( items . length === 0 ) { throw new Error ( 'no files specified to clean up' ) ; } items . forEach ( function ( item ) { try { var path = ( typeof item === 'string' ) ? item : item . path ; _fs . unlinkSync ( path ) ; } catch ( e ) { // Eat the exception. } } ) ; }
Cleans up all of the files specified in the array. If the file
does not exist, the resultant error will be ignored.
Cleans up all of the files specified in the array . If the file does not exist the resultant error will be ignored .