strapi generate api
without further arguments leads to error
#36
Labels
issue: bug
Issue reporting a bug
Milestone
Well this one is pretty easy but i'll hand to yourself how you want to fix it.
This code is from https://github.com/wistityhq/strapi-generate-api/blob/master/lib/before.js
When executing
strapi generate api
pluralize doesn't handle theundefined
gracefully so we have to do it ourself.The text was updated successfully, but these errors were encountered: