An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:white_check_mark: Guard table paste test cleanup https://github.com/siyuan-note/siyuan/issues/20726
Daniel388b0e8516e1
diff --git a/app/src/protyle/util/tableCellPaste.test.ts b/app/src/protyle/util/tableCellPaste.test.tsindex 2af929fb3f..aa6f4795ec 100644--- a/app/src/protyle/util/tableCellPaste.test.ts+++ b/app/src/protyle/util/tableCellPaste.test.ts@@ -234,6 +234,9 @@ app.whenReady().then(async () => {{env, timeout: 25000, windowsHide: true});assert.match(result.stdout, /table-cell-paste-ok/);} finally {- rmSync(directory, {recursive: true, force: true});+ if (path.dirname(path.resolve(directory)) === path.resolve(tmpdir()) &&+ path.basename(directory).startsWith("siyuan-table-cell-paste-")) {+ rmSync(directory, {recursive: true, force: true});+ }}});