mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Fix installer ignoring --plugins argument (#440)
Fix issue passing --plugins to installer which was discovered in #438.
This commit is contained in:
1 parent
f1ac22881c
commit
5aa4d99ea3
1 file changed
+5
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user