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

@@ -40,7 +40,10 @@ class CustomModuleCache {
*/
async updateCacheManifest(manifest) {
const yaml = require('yaml');
const content = yaml.stringify(manifest, {
// Clean the manifest to remove any non-serializable values
const cleanManifest = structuredClone(manifest);
const content = yaml.stringify(cleanManifest, {
indent: 2,
lineWidth: 0,
sortKeys: false,