Wrong directory with generate:model --plugin #3889
Labels
good first issue
Good for newcomers
issue: bug
Issue reporting a bug
severity: low
If the issue only affects a very niche base of users and an easily implemented workaround can solve
source: core:strapi
Source is core/strapi package
status: confirmed
Confirmed by a Strapi Team member or multiple community members
Describe the bug
Run command:
strapi generate:model userinfo --plugin foo
You get
project/plugins/foo/models/models/userinfo
Expected behavior
Should be
project/plugins/foo/models/userinfo
System
The text was updated successfully, but these errors were encountered: