We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug
OS: Windows 11 64 bit Node: v18.1.0 Npm: 8.8.0 Yo: 4.3.1
throw error like this:
Error (MY_GENERATOR) Option (NAME) alias is to long.
NAME would be the first argument passed to the option function.
option
throws random error where this is undefined when calling a custom function on the generator.
this
call option definition function with alias that is longer than 4 ish characters.
Error (MY_GENERATOR) -myAlias option Cannot read properties of undefined (reading 'usesPkgManager')
usesPkgManager is a function i defined on the custom generator to return a boolean whether it uses a packages manager.
it would be nice to document that the alias is required to be less than a certain length.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Type of issue
Bug
My environment
OS: Windows 11 64 bit
Node: v18.1.0
Npm: 8.8.0
Yo: 4.3.1
Expected behavior
throw error like this:
NAME would be the first argument passed to the
option
function.Current behavior
throws random error where
this
is undefined when calling a custom function on the generator.Steps to reproduce the behavior
call
option
definition function with alias that is longer than 4 ish characters.Command line output
usesPkgManager is a function i defined on the custom generator to return a boolean whether it uses a packages manager.
note
it would be nice to document that the alias is required to be less than a certain length.
The text was updated successfully, but these errors were encountered: