Skip to content

Commit ea77fef

Browse files
authored
Merge pull request #53 from lenchvolodymyr/fix/HCK-2683-parse-yaml-values-as-plain-json
HCK-2683: parse yaml values as plain json
2 parents 116a2d7 + 565a58e commit ea77fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reverse_engineering/helpers/commonHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const handleErrorObject = (error, title) => {
6666
};
6767

6868
const convertYamlToJson = (fileData) => {
69-
return yaml.load(fileData);
69+
return yaml.load(fileData, { schema: yaml.JSON_SCHEMA });
7070
};
7171

7272
const getNewId = () => uuid.v1();

0 commit comments

Comments
 (0)