Skip to content
New issue

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

[BUGFIX] The addon command should throw when no addon name is provided #10192

Conversation

bertdeblock
Copy link
Member

@bertdeblock bertdeblock commented Feb 21, 2023

At the moment, when you run the addon command without providing an addon name, it triggers the interactive-new flow, because the addon command extends the new command. According to emberjs/rfcs#638, the addon command should never trigger the interactive-new flow. This means we should error when no addon name is provided like we used to.

@bertdeblock bertdeblock self-assigned this Feb 21, 2023
@bertdeblock bertdeblock force-pushed the addon-command-should-throw-when-no-addon-name-is-provided branch from e6cdbfc to b537675 Compare February 22, 2023 07:20
@bertdeblock bertdeblock merged commit ce8f1e4 into ember-cli:master Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants