mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 15:24:52 +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" },
|
||||
],
|
||||
},
|
||||
], answers);
|
||||
answers = await inquirer.prompt([
|
||||
{
|
||||
type: "input",
|
||||
name: "pluginName",
|
||||
message: "Name of your new plugin",
|
||||
default: path.basename(path.resolve()),
|
||||
},
|
||||
], answers);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user