From 3e25deff2a3e5f2ce12008793bd8091c6b6abcde Mon Sep 17 00:00:00 2001 From: Isiah Meadows Date: Fri, 19 Oct 2018 11:58:41 -0400 Subject: [PATCH] Destructure the object, not the desired property --- src/commands/generate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/generate.js b/src/commands/generate.js index 7cc5c6f..073442e 100644 --- a/src/commands/generate.js +++ b/src/commands/generate.js @@ -20,7 +20,7 @@ const printBlueprint = (blueprint) => { program.on('--help', () => { // Get available blueprints from the current mern project - const { blueprints } = getMernConfig().blueprints; + const { blueprints } = getMernConfig(); console.log(chalk.yellow('Available Generators')); console.log(chalk.yellow('____________________')); console.log('');