From 081988af7bf58ec6d43c3aa268b7782cfe39e2d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=97=D0=B0=D1=80=D1=83=D0=B1=D0=B8=D0=BD=20=D0=A4=D0=B8?= =?UTF-8?q?=D0=BB=D0=B8=D0=BF=D0=BF?= <289370046+zarubinphil@users.noreply.github.com> Date: Wed, 17 Jun 2026 00:22:44 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=B8=D1=81=D0=BA=D0=BB=D1=8E=D1=87?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20graphify-out*=20=D0=B1=D1=8D=D0=BA=D0=B0?= =?UTF-8?q?=D0=BF-=D0=B4=D0=B8=D1=80=D0=BA=D0=B8=20=D0=B8=D0=B7=20walk=20(?= =?UTF-8?q?=D0=BD=D0=B5=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BE=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D0=B1=D0=B0=D1=82=D1=8B=D0=B2=D0=B0=D1=82=D1=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/mnemazine-refresh-graphify.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mnemazine-refresh-graphify.mjs b/scripts/mnemazine-refresh-graphify.mjs index 73d7f09..7ef1096 100644 --- a/scripts/mnemazine-refresh-graphify.mjs +++ b/scripts/mnemazine-refresh-graphify.mjs @@ -41,7 +41,7 @@ const REPORT_PATH = path.join(GRAPHIFY_OUT, 'GRAPH_REPORT.md') const ANALYSIS_PATH = path.join(GRAPHIFY_OUT, '.graphify_analysis.json') const MANIFEST_PATH = path.join(GRAPHIFY_OUT, 'manifest.json') const NEEDS_UPDATE_PATH = path.join(GRAPHIFY_OUT, 'needs_update') -const EXCLUDED_DIRS = new Set(['.git', '.obsidian', 'graphify-out']) +const EXCLUDED_DIRS = new Set(['.git', '.obsidian']) function normalizeOllamaBaseUrl(value) { const raw = String(value || process.env.OLLAMA_BASE_URL || 'http://127.0.0.1:11434').trim().replace(/\/+$/, '') @@ -57,7 +57,7 @@ function rel(file) { async function walk(dir) { const out = [] for (const item of await fs.readdir(dir, { withFileTypes: true }).catch(() => [])) { - if (EXCLUDED_DIRS.has(item.name)) continue + if (EXCLUDED_DIRS.has(item.name) || item.name.startsWith('graphify-out')) continue const p = path.join(dir, item.name) if (item.isDirectory()) out.push(...await walk(p)) else if (item.isFile()) out.push(p)