You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
bf-cli master branch
Composer reported issue since they have empty lu or qna files in many scenarios.
Describe the bug
When users call loadContents function in builder.ts of lubuild or qnabuild, it will not load files and create dialogs assets correctly when parsing empty files. The root cause it that luMerger will throw exception if we don't filter those empty files. The fix is straightforward, just filter empty files before calling luMerger and avoid creating recognizers for those empty files.
To Reproduce
Steps to reproduce the behavior:
use luis build or qnamaker build cli
use one non-empty and one empty files as input
see the build results, you will find the non-empty file is not published
Expected behavior
loadContents can handle empty files correctly.
Screenshots
If applicable, add screenshots to help explain your problem.