Browse Source

Removed useless `async` decleration

master
Leo Lamprecht 8 years ago
parent
commit
b1663954fe
  1. 3
      lib/get-files.js

3
lib/get-files.js

@ -306,8 +306,7 @@ async function explode(paths, { accepts, debug }) {
return path; return path;
}; };
const many = async all => Promise.all(all.map(async file => list(file))); const many = all => Promise.all(all.map(file => list(file)));
return flatten(await many(paths)).filter(v => v !== null); return flatten(await many(paths)).filter(v => v !== null);
} }

Loading…
Cancel
Save