function getFiles()

in logos.js [46:62]


function getFiles(product) {
  if (typeof product !== 'string') {
    throw new Error('Product directory name is required as argument');
  }

  function resolve(file) {
    return path.resolve(__dirname, product, file);
  }

  var files = [];

  getMetas(function(file) {
    files.push(resolve(file));
  });

  return files;
}