fix(script):fixed missing paranthesis in tool generator script

This commit is contained in:
Corentin Thomasset 2022-07-23 23:07:53 +02:00
parent 214084262c
commit 1c7257eeb0
No known key found for this signature in database
GPG Key ID: DBD997E935996158

View File

@ -1,6 +1,6 @@
import { join, dirname } from 'path';
import { fileURLToPath } from 'url';
import { mkdir, readFile, writeFile } from 'fs/promises';
import { dirname, join } from 'path';
import { fileURLToPath } from 'url';
const currentDirname = dirname(fileURLToPath(import.meta.url));
@ -55,7 +55,7 @@ export const tool = defineTool({
keywords: ['${toolName.split('-').join("', '")}'],
component: () => import('./${toolName}.vue'),
icon: ArrowsShuffle,
};
});
`,
);