fix(prompt): remove unreachable complete branches

This commit is contained in:
Yichen Jiang
2026-08-10 20:09:06 +08:00
parent 6dabf0ea99
commit eacd5e2167
6 changed files with 19 additions and 22 deletions

View File

@@ -59,6 +59,6 @@ export function apply(ctx: Context, config: Config): void {
name: PERSONA_SECTION,
order: PERSONA_ORDER,
text: config.text,
complete: config.complete ?? false,
...(config.complete ? { complete: true } : {}),
}), 'persona.section()')
}