Fix installer asking for remoteNpm even when given

This commit is contained in:
Hornwitser committed 2025-10-18 18:43:55 +02:00
1 parent 35f769ad25
commit 93fa12200f
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -689,6 +689,7 @@ async function inquirerMissingArgs(args) {
}
if (["standalone", "controller", "host"].includes(answers.mode)) {
if (args.hasOwnProperty("remoteNpm")) { answers.remoteNpm = args.remoteNpm; }
answers = await inquirer.prompt([
{
type: "confirm",
+1 -1
View File
@@ -3,7 +3,7 @@
"description": "Installer for clusterio",
"author": "Hornwitser",
"license": "MIT",
"version": "2.0.0-alpha.21b",
"version": "2.0.0-alpha.21c",
"main": "create.js",
"bin": {
"clusteriocreate": "./create.js"