diff --git a/reverse_engineering/helpers/commonHelper.js b/reverse_engineering/helpers/commonHelper.js index 960c70b..8b18b20 100644 --- a/reverse_engineering/helpers/commonHelper.js +++ b/reverse_engineering/helpers/commonHelper.js @@ -66,7 +66,7 @@ const handleErrorObject = (error, title) => { }; const convertYamlToJson = (fileData) => { - return yaml.load(fileData); + return yaml.load(fileData, { schema: yaml.JSON_SCHEMA }); }; const getNewId = () => uuid.v1();