Skip to content

Commit

Permalink
Remove console.log in luis validation. (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrimc62 committed Nov 6, 2020
1 parent f7da1b8 commit c64ea80
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/lu/src/parser/luis/luisValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ const validateBoundaries = function(luisJSON) {

// 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.`)
}
Expand Down

0 comments on commit c64ea80

Please sign in to comment.