From ca4becbabacb56aab6d5f0d6b68dd9384ba7f8e0 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 31 Jul 2026 09:38:17 +0000 Subject: [PATCH] =?UTF-8?q?fix(gitea):=20clone=20=E5=A4=B1=E6=95=97?= =?UTF-8?q?=E8=A8=8A=E6=81=AF=E4=B8=8D=E8=A6=81=E8=A2=AB=20git=20=E7=9A=84?= =?UTF-8?q?=E5=A4=9A=E8=A1=8C=20stderr=20=E6=88=AA=E6=96=B7=E6=88=90?= =?UTF-8?q?=E5=8D=8A=E5=80=8B=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5 (1M context) --- scripts/persona-gitea.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/persona-gitea.mjs b/scripts/persona-gitea.mjs index 7610f04..c36811f 100644 --- a/scripts/persona-gitea.mjs +++ b/scripts/persona-gitea.mjs @@ -902,7 +902,7 @@ export async function importFromRemote(code, { owner = null, slug = null, force const detail = AREA_KEYS .map((key) => `${AREAS[key].label}:${results[key]?.ok ? `${results[key].written?.length ?? 0} 個檔案` - : String(results[key]?.reason || "失敗").slice(0, 80)}`) + : String(results[key]?.reason || "失敗").replace(/\s+/g, " ").slice(0, 100)}`) .join(";"); throw new Error( `從 ${theOwner}/${code} 拉回來的內容沒有 IDENTITY.md(人格的最低要件),已中止${fresh ? "並清掉半成品" : ""}。${detail}`,