Fix installer ignoring --plugins argument (#440)

Fix issue passing --plugins to installer which was discovered in #438.
This commit is contained in:
Hornwitser authored and GitHub committed 2021-12-09 00:03:45 +01:00
1 parent f1ac22881c
commit 5aa4d99ea3
1 file changed
+5 -1
+5 -1
View File
@@ -433,7 +433,11 @@ async function inquirerMissingArgs(args) {
}
}
if (dev) { answers.plugins = []; }
if (dev) {
answers.plugins = [];
} else if (args.plugins) {
answers.plugins = args.plugins;
}
answers = await inquirer.prompt([
{
type: "checkbox",