default accepted for installer quesitons

This commit is contained in:
Brian Madison
2025-12-15 12:55:57 +08:00
parent 6513c77d1b
commit 60238d2854
9 changed files with 110 additions and 21 deletions

View File

@@ -703,7 +703,9 @@ class UI {
// Now collect with existing values as defaults (false = don't skip loading, true = skip completion message)
await configCollector.collectModuleConfig('core', directory, false, true);
return configCollector.collectedConfig.core;
const coreConfig = configCollector.collectedConfig.core;
// Ensure we always have a core config object, even if empty
return coreConfig || {};
}
/**