From 13b47e60472c6a3dc49bd00f332e5b2c1b364440 Mon Sep 17 00:00:00 2001 From: Onur Date: Fri, 9 Jan 2026 00:25:56 +0300 Subject: [PATCH] fix(doctor): restore initialValue behavior in non-interactive mode The repair/force commit added an early return that broke non-interactive mode - migrations would return false instead of using initialValue. --- src/commands/doctor-prompter.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/commands/doctor-prompter.ts b/src/commands/doctor-prompter.ts index 99f7d5a4f..47611e048 100644 --- a/src/commands/doctor-prompter.ts +++ b/src/commands/doctor-prompter.ts @@ -43,7 +43,6 @@ export function createDoctorPrompter(params: { const canPrompt = isTty && !yes && !nonInteractive; const confirmDefault = async (p: Parameters[0]) => { - if (nonInteractive) return false; if (shouldRepair) return true; if (!canPrompt) return Boolean(p.initialValue ?? false); return (