mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-24 00:23:12 +09:00
Add current folder as default for plugin name
This commit is contained in:
1 file changed
+1
-2
@@ -802,12 +802,11 @@ async function inquirerMissingArgs(args) {
|
|||||||
{ name: "No Typescript", value: "js" },
|
{ name: "No Typescript", value: "js" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
], answers);
|
|
||||||
answers = await inquirer.prompt([
|
|
||||||
{
|
{
|
||||||
type: "input",
|
type: "input",
|
||||||
name: "pluginName",
|
name: "pluginName",
|
||||||
message: "Name of your new plugin",
|
message: "Name of your new plugin",
|
||||||
|
default: path.basename(path.resolve()),
|
||||||
},
|
},
|
||||||
], answers);
|
], answers);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user