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;