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
yeoman-generator version: 4.12.0
When the current directory name is like my-project, the appname is my project. This is not in my mind. The current directory is empty, has not bower.json or package.json.
You know, if use generator to get package.json, the name like "my project" is not valid.
If the current directory name is like my_project, I can get right appname.
Can we get the right directory name? or give a reason to help me understand what happen?
yeoman-generator version: 4.12.0
When the current directory name is like my-project, the appname is my project. This is not in my mind. The current directory is empty, has not bower.json or package.json.
You know, if use generator to get package.json, the name like "my project" is not valid.
If the current directory name is like my_project, I can get right appname.
Can we get the right directory name? or give a reason to help me understand what happen?
ENV
Code of custom generator
The text was updated successfully, but these errors were encountered: