forked from OpenWF/SpaceNinjaServer
Fix Lint
This commit is contained in:
parent
fdb7b54333
commit
e3d8c73592
@ -41,7 +41,7 @@ class PluginGenerator {
|
||||
|
||||
// Create plugin files
|
||||
this.createPluginManifest(pluginDir, name);
|
||||
|
||||
|
||||
if (language === "ts") {
|
||||
this.createTypeScriptPlugin(pluginDir, name);
|
||||
} else {
|
||||
@ -198,7 +198,7 @@ export default ${name};
|
||||
|
||||
// Create package.json for ES module support
|
||||
const packageJson = {
|
||||
"type": "module"
|
||||
type: "module"
|
||||
};
|
||||
const packagePath = path.join(pluginDir, "package.json");
|
||||
fs.writeFileSync(packagePath, JSON.stringify(packageJson, null, 2));
|
||||
|
@ -2,7 +2,7 @@
|
||||
* JavaScript Plugin Generator Wrapper
|
||||
*/
|
||||
|
||||
const { PluginGenerator } = require('./create-plugin-core');
|
||||
const { PluginGenerator } = require("./create-plugin-core");
|
||||
|
||||
// Get plugin name from command line arguments
|
||||
const pluginName = process.argv[2];
|
||||
|
@ -2,7 +2,7 @@
|
||||
* TypeScript Plugin Generator Wrapper
|
||||
*/
|
||||
|
||||
const { PluginGenerator } = require('./create-plugin-core');
|
||||
const { PluginGenerator } = require("./create-plugin-core");
|
||||
|
||||
// Get plugin name from command line arguments
|
||||
const pluginName = process.argv[2];
|
||||
|
Loading…
x
Reference in New Issue
Block a user