@microsoft/bf-lu
Advanced tools
Comparing version 4.11.0-dev.20200907.c063415 to 4.11.0-dev.20200911.7d6ad59
@@ -109,2 +109,9 @@ "use strict"; | ||
}); | ||
// phrase list - phraselist cannot be null or empty. | ||
phraseLists.forEach(item => { | ||
console.log(item.words); | ||
if (item.words === undefined || item.words.trim() === '' || item.words.split(',').length === 0) { | ||
validationError(retCode.errorCode.BOUNDARY_MINMUM_PHRASE_LIMIT, `0 phrases found in phrase list: ${item.name}. Empty phrase list is not allowed.`); | ||
} | ||
}); | ||
// Roles - 10 roles per entity | ||
@@ -111,0 +118,0 @@ let totalRoles = 0; |
@@ -53,3 +53,4 @@ "use strict"; | ||
BOUNDARY_TOTAL_ENTITIES_AND_ROLES: 519, | ||
BOUNDARY_TOTAL_CLOSED_LISTS: 520 | ||
BOUNDARY_TOTAL_CLOSED_LISTS: 520, | ||
BOUNDARY_MINMUM_PHRASE_LIMIT: 521 | ||
}, | ||
@@ -56,0 +57,0 @@ boundaryLimits: { |
{ | ||
"name": "@microsoft/bf-lu", | ||
"version": "4.11.0-dev.20200907.c063415", | ||
"version": "4.11.0-dev.20200911.7d6ad59", | ||
"author": "Microsoft", | ||
@@ -5,0 +5,0 @@ "bugs": "https://github.com/microsoft/botframework-cli/issues", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
850427
19017