Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_.each(list, function (pattern) {
_.each(mime.glob(pattern), function (name) {
//FIXME: workaround for https://github.com/swagger-api/swagger-spec/issues/268
if (name.indexOf('_') >= 0)
return;
result.push(name);
});
});
return result;