We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 172b2ca commit 93d6061Copy full SHA for 93d6061
src/commands/main-init.js
@@ -33,7 +33,7 @@ if (program.args.length === 1) {
33
}
34
35
// Check whether the given variant is available or not
36
-const selectedVariant = variants.filter(variant => variant.name === program.variant)[0];
+const selectedVariant = variants.filter(variant => variant.name === program.target)[0];
37
if (!selectedVariant) {
38
console.log(chalk.red.bold(`${program.variant} is not a valid MERN variant. Execute 'mern list' to list available variants`));
39
exit(1);
0 commit comments