index.js
function getAll(files, cb) {
    walkAll(files)
        .then(function(allNodes) {
            if (cb) cb(null, allNodes);
        })
        .catch(function(err) {
            if (cb) cb(err, []);
        });
}
function getAll(files, cb) {
    walkAll(files)
        .then(function(allNodes) {
            if (cb) cb(null, allNodes);
        })
        .catch(function(err) {
            if (cb) cb(err, []);
        });
}
function getAll ( files , cb ) { walkAll ( files ) . then ( function ( allNodes ) { if ( cb ) cb ( null , allNodes ) ; } ) . catch ( function ( err ) { if ( cb ) cb ( err , [ ] ) ; } ) ; }
Gets a list of all found console.logs

@param {String} files A file glob
@param {Function?} cb Called with arguments <Error, Array>. If an error occurred the error will be passed with an
empty array, otherwise error will be null and an array will be passed.
Gets a list of all found console . logs