Permalink
Browse files

fix: wrong option name

  • Loading branch information...
1 parent 172b2ca commit 93d60615faaaa166bcf811cdf1ae28c62f0bb4d5 @somus somus committed Jun 6, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/commands/main-init.js
@@ -33,7 +33,7 @@ if (program.args.length === 1) {
}
// Check whether the given variant is available or not
-const selectedVariant = variants.filter(variant => variant.name === program.variant)[0];
+const selectedVariant = variants.filter(variant => variant.name === program.target)[0];
if (!selectedVariant) {
console.log(chalk.red.bold(`${program.variant} is not a valid MERN variant. Execute 'mern list' to list available variants`));
exit(1);

0 comments on commit 93d6061

Please sign in to comment.