src/index.js
function discover(pattern, callback) {
    glob(pattern, function (err, filepaths) {
      if (err) callback(err);
      callback(null, filepaths);
    });
  }
function discover(pattern, callback) {
    glob(pattern, function (err, filepaths) {
      if (err) callback(err);
      callback(null, filepaths);
    });
  }
function discover ( pattern , callback ) { glob ( pattern , function ( err , filepaths ) { if ( err ) callback ( err ) ; callback ( null , filepaths ) ; } ) ; }
Discover files for given file pattern
@param {String} pattern glob pattern
@param {Function.<Error, Array.<string>>} callback
Discover files for given file pattern