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

fix(create), block using component-name with the same name as the template name #8831

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

davidfirst
Copy link
Member

Otherwise, the code might have a class that extends itself.
For example, bit create node-env node-env produces class NodeEnv extends NodeEnv.
Or bit create react-env envs/react-env --aspect teambit.react/react-env produces class ReactEnv extends ReactEnv.

@davidfirst davidfirst merged commit 3d1bada into master Apr 25, 2024
11 checks passed
@davidfirst davidfirst deleted the block-template-comp-same-name branch April 25, 2024 19:57
luvkapur pushed a commit that referenced this pull request May 3, 2024
…plate name (#8831)

Otherwise, the code might have a class that extends itself. 
For example, `bit create node-env node-env` produces `class NodeEnv
extends NodeEnv`.
Or `bit create react-env envs/react-env --aspect
teambit.react/react-env` produces `class ReactEnv extends ReactEnv`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants