Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit ef56b13

Browse files
Vishwac Sena KannanVishwac Sena Kannan
authored andcommitted
Removing casing from child entity names
1 parent 760713e commit ef56b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/luis/src/parser/lufile/parseFileContents.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ const handleNDepthEntity = function(parsedContent, entityName, entityRoles, enti
971971
throw (new exception(retCode.errorCode.INVALID_INPUT, errorMsg));
972972
}
973973
let childEntityName = groupsFound.groups.entityName.replace(/^['"]/g, '').replace(/['"]$/g, '');
974-
let childEntityType = groupsFound.groups.instanceOf.toLowerCase().trim();
974+
let childEntityType = groupsFound.groups.instanceOf.trim();
975975
let childFeatures = groupsFound.groups.features ? groupsFound.groups.features.trim().split(/[,;]/g).map(item => item.trim()) : undefined;
976976
// Verify that the entity name is unique
977977
let entityIsUnique = verifyUniqueEntityName(parsedContent, childEntityName, childEntityType, line, true);

0 commit comments

Comments
 (0)