From 440e82a45a2e4bdaa0c4433410bea798236169da Mon Sep 17 00:00:00 2001 From: Research Assistant Date: Fri, 15 May 2026 18:12:05 +0800 Subject: [PATCH] fix: move --vault before subcommand in dashboard memory health check --- paperforge/plugin/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paperforge/plugin/main.js b/paperforge/plugin/main.js index 67b9bbff..a2bc32a0 100644 --- a/paperforge/plugin/main.js +++ b/paperforge/plugin/main.js @@ -1497,7 +1497,7 @@ class PaperForgeStatusView extends ItemView { const vp2 = this.app.vault.adapter.basePath; const { path: pyExe2, extraArgs: ea2 } = resolvePythonExecutable(vp2, plugin?.settings); if (pyExe2) { - const rh = execFileSync(pyExe2, [...ea2, '-m', 'paperforge', 'runtime-health', '--json', '--vault', vp2], + const rh = execFileSync(pyExe2, [...ea2, '-m', 'paperforge', '--vault', vp2, 'runtime-health', '--json'], { cwd: vp2, timeout: 8000, encoding: 'utf-8', windowsHide: true }); const data = JSON.parse(rh); if (data.ok) {