diff --git a/packages/cli/generators/model/index.js b/packages/cli/generators/model/index.js index 9113d2ad46aa..d01529ae03dc 100644 --- a/packages/cli/generators/model/index.js +++ b/packages/cli/generators/model/index.js @@ -61,7 +61,7 @@ module.exports = class ModelGenerator extends ArtifactGenerator { return super.checkLoopBackProject(); } - promptArtifactName() { + async promptArtifactName() { await super.promptArtifactName(); this.log( `Let's add a property to ${chalk.yellow(this.artifactInfo.className)}`,