Skip to content

Commit

Permalink
Merge pull request strapi#11661 from strapi/v4/cli-add-warning-for-ct…
Browse files Browse the repository at this point in the history
…-without-attributes

[V4] CLI add warning for ct without attributes
  • Loading branch information
alexandrebodin authored Nov 24, 2021
2 parents 6652e79 + b203ba2 commit c69713b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ module.exports = async inquirer => {

if (addAttributes) {
await createNewAttributes(inquirer);
} else {
console.warn(
`You won't be able to manage entries from the admin, you can still add attributes later from the content type builder.`
);
}

return attributes;
Expand Down

0 comments on commit c69713b

Please sign in to comment.