Replace YAML parser

This commit is contained in:
Zef Hemel
2023-11-29 16:51:28 +01:00
parent 62e98b1fd8
commit 1d5c6f9277
9 changed files with 55 additions and 12 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export function parseYamlSettings(settingsMarkdown: string): {
}
const yaml = match[1];
try {
return YAML.parse(yaml) as {
return YAML.load(yaml) as {
[key: string]: any;
};
} catch (e: any) {