-
Notifications
You must be signed in to change notification settings - Fork 123
bf luis:generate:cs not taking the className flag correctly #914
Description
Versions
BF CLI: @microsoft/botframework-cli/4.10.0-dev.20200721.8bb21ac
Node version: node-v14.6.0
CLI: PowerShell 6.2.2
What OS are you using : Windows 10 win32-x64
Describe the bug
For the className arg, I am passing a name which contains an underscore "EmceeSkill_DevBotLuis". However the generated output ignores the special character and gives me the class name as "EmceeSkillDevBotLuis". This causes numerous errors in code, and manually requires me to add the underscore into the generated output file.
To Reproduce
Steps to reproduce the behavior:
- Run the bf luis:version:export command to generate the required output .json
- Run the bf luis:generate:cs command giving className with an underscore
- Check the generated output file, it does not match the name given as an option
Expected behavior
The command must make no changes to the className provided by the user, and generate an output that will not cause code issues.
Screenshots
Note the command, containing the name desired by the user, and the actual output class name


Additional context
Switched over to nightly feeds since the fix incorporated as part of #848 is not yet released as a GA version.
[bug]