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

@@ -28,7 +28,10 @@ class Manifest {
};
// Write YAML manifest
const yamlContent = yaml.stringify(manifestData, {
// Clean the manifest data to remove any non-serializable values
const cleanManifestData = structuredClone(manifestData);
const yamlContent = yaml.stringify(cleanManifestData, {
indent: 2,
lineWidth: 0,
sortKeys: false,
@@ -100,7 +103,10 @@ class Manifest {
const manifestPath = path.join(bmadDir, '_config', 'manifest.yaml');
await fs.ensureDir(path.dirname(manifestPath));
const yamlContent = yaml.stringify(manifestData, {
// Clean the manifest data to remove any non-serializable values
const cleanManifestData = structuredClone(manifestData);
const yamlContent = yaml.stringify(cleanManifestData, {
indent: 2,
lineWidth: 0,
sortKeys: false,