From 1e6788a8261897cf482410d0b6a7a8598bae4f8e Mon Sep 17 00:00:00 2001 From: virkt25 Date: Mon, 9 Jul 2018 23:51:40 -0400 Subject: [PATCH] fixup! add missing async --- packages/cli/generators/model/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}`,