lib/config-generator.js
function(root, fileStats, next) {
        var self = this;

        var file = path.join(root, fileStats.name);

        if (minimatch(file, self._options.filePattern, {
            dot: true
        })) {
            self._processFile(file)
                .then(function(config) {
                    next();
                });
        } else {
            next();
        }
    }
function(root, fileStats, next) {
        var self = this;

        var file = path.join(root, fileStats.name);

        if (minimatch(file, self._options.filePattern, {
            dot: true
        })) {
            self._processFile(file)
                .then(function(config) {
                    next();
                });
        } else {
            next();
        }
    }
function ( root , fileStats , next ) { var self = this ; var file = path . join ( root , fileStats . name ) ; if ( minimatch ( file , self . _options . filePattern , { dot : true } ) ) { self . _processFile ( file ) . then ( function ( config ) { next ( ) ; } ) ; } else { next ( ) ; } }
Listener which will be invoked when a file whiting the provided folder is found

@method _onWalkerFile
@protected
@param {String} root The root directory of the file
@param {Object} fileStats Object with data about the file
@param {Function} next A callback function to be called once the file is processed
Listener which will be invoked when a file whiting the provided folder is found