fix
This commit is contained in:
@@ -33,13 +33,13 @@ app.route({
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(`处理 ${item.path} 失败`, item);
|
console.error(`处理 ${item.path} 失败`, item);
|
||||||
}
|
}
|
||||||
// 开始同步
|
}
|
||||||
for (const repo of syncList) {
|
// 开始同步
|
||||||
try {
|
for (const repo of syncList) {
|
||||||
await sync(repo);
|
try {
|
||||||
} catch (err) {
|
await sync(repo);
|
||||||
console.error(`同步 ${repo.path} 失败`, repo);
|
} catch (err) {
|
||||||
}
|
console.error(`同步 ${repo.path} 失败`, repo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user