mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-21 15:26:15 -04:00
fix(script):fixed missing paranthesis in tool generator script
This commit is contained in:
parent
214084262c
commit
1c7257eeb0
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
import { join, dirname } from 'path';
|
|
||||||
import { fileURLToPath } from 'url';
|
|
||||||
import { mkdir, readFile, writeFile } from 'fs/promises';
|
import { mkdir, readFile, writeFile } from 'fs/promises';
|
||||||
|
import { dirname, join } from 'path';
|
||||||
|
import { fileURLToPath } from 'url';
|
||||||
|
|
||||||
const currentDirname = dirname(fileURLToPath(import.meta.url));
|
const currentDirname = dirname(fileURLToPath(import.meta.url));
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ export const tool = defineTool({
|
||||||
keywords: ['${toolName.split('-').join("', '")}'],
|
keywords: ['${toolName.split('-').join("', '")}'],
|
||||||
component: () => import('./${toolName}.vue'),
|
component: () => import('./${toolName}.vue'),
|
||||||
icon: ArrowsShuffle,
|
icon: ArrowsShuffle,
|
||||||
};
|
});
|
||||||
`,
|
`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue