Remove unnecessary await
This commit is contained in:
parent
f4c980fb53
commit
784eb1e384
|
@ -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}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user