Remove unnecessary await

This commit is contained in:
Rob Garrison 2018-07-21 12:27:57 -05:00
parent f4c980fb53
commit 784eb1e384

View File

@ -84,7 +84,7 @@ async function copy(lib, folder) {
const [src, dest] = folder.split(/\s*→\s*/); const [src, dest] = folder.split(/\s*→\s*/);
try { try {
if (folder === '*') { if (folder === '*') {
await updateExisting(lib); updateExisting(lib);
} else { } else {
await fs.copy(`${root}/node_modules/${lib}/${src}`, `${root}/vendor/${lib}/${dest || src}`); await fs.copy(`${root}/node_modules/${lib}/${src}`, `${root}/vendor/${lib}/${dest || src}`);
} }