This commit is contained in:
xiongxiao
2026-03-18 01:29:09 +08:00
committed by cnb
parent cbdaeffd16
commit 28a5f9a7f1

View File

@@ -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);
} }
} }
} }