Refactoring about how proxy fetching happens

This commit is contained in:
Zef Hemel
2023-08-23 19:08:21 +02:00
parent 38a95d2382
commit 5a88254cde
18 changed files with 320 additions and 93 deletions
+4 -1
View File
@@ -7,7 +7,10 @@ export function yamlSyscalls(): SysCallMapping {
return YAML.parse(text);
},
"yaml.stringify": (_ctx, obj: any): string => {
return YAML.stringify(obj);
return YAML.stringify(obj, {
noArrayIndent: true,
noCompatMode: true,
});
},
};
}