From 1c7257eeb05d7906665987361ab3fa743d7b91da Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Sat, 23 Jul 2022 23:07:53 +0200 Subject: [PATCH] fix(script):fixed missing paranthesis in tool generator script --- scripts/create-tool.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/create-tool.mjs b/scripts/create-tool.mjs index 97b99b26..33ab807c 100644 --- a/scripts/create-tool.mjs +++ b/scripts/create-tool.mjs @@ -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, -}; +}); `, );