Issue: DataFileHelper::process: Function yaml.safeLoad is removed in js-yaml 4. #717

This commit is contained in:
Elio Struyf
2023-12-08 10:26:42 +01:00
parent 5444925cf4
commit 0f07be3e3b
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ export class DataFileHelper {
const dataFile = await DataFileHelper.get(file);
if (fileType === 'yaml') {
return yaml.safeLoad(dataFile || '');
return yaml.load(dataFile || '');
} else {
return dataFile ? JSON.parse(dataFile) : undefined;
}