[DX] Throw exception if module not exists
robsontenorio opened this issue · 1 comments
robsontenorio commented
My module name is blog
. But in case of typo it creates the model on main app.
# current is case sentive. blog != Blog
php artisan make:model Post -msc --module=Blog
Improvement: throw a exception if there is no correspondent module.
inxilpro commented
Thanks for recommending this! It's fixed in 1.9.0.