From 7c979f894df2baa012c90b79e5b021124df7e1f2 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sun, 31 May 2026 00:22:58 +0900 Subject: [PATCH] fix: tolerate packaged telemetry source omission --- packages/omo-codex/scripts/sync-telemetry-component.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/omo-codex/scripts/sync-telemetry-component.mjs b/packages/omo-codex/scripts/sync-telemetry-component.mjs index 9819a6fb2..5f2946ad0 100644 --- a/packages/omo-codex/scripts/sync-telemetry-component.mjs +++ b/packages/omo-codex/scripts/sync-telemetry-component.mjs @@ -28,7 +28,7 @@ export async function syncTelemetryComponent(options = {}) { const componentPath = join(componentDir, fileName); const componentText = await readOptionalText(componentPath); const sourceText = await readOptionalText(sourcePath); - if (sourceText === null && !sourceDirProvided && componentText !== null) continue; + if (sourceText === null && !sourceDirProvided) continue; if (sourceText === null) { await readFile(sourcePath, "utf8"); continue;