fix: tolerate packaged telemetry source omission

This commit is contained in:
YeonGyu-Kim
2026-05-31 00:22:58 +09:00
parent 07629c0705
commit 7c979f894d
@@ -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;