in scripts/sync-docs.js [246:253]
async function copyDocs(source, target) {
if (!(await isDirExisted(source))) {
log(`cannot find ${source}, skip.`);
return Promise.reject(new Error(`${source} no exist`));
}
return copyFolder(source, target);
}