Skip to content

Commit 565a58e

Browse files
HCK-2683: parse yaml values as plain json
1 parent 116a2d7 commit 565a58e

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)