From bb646ab67ed23d75f54d3a5359aed2094ff83897 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Tue, 1 Sep 2020 16:51:13 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=97=20Schemes=20out=20Path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/schema.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/core/src/schema.ts b/packages/core/src/schema.ts index 0c90f5e0..63100480 100644 --- a/packages/core/src/schema.ts +++ b/packages/core/src/schema.ts @@ -53,13 +53,12 @@ const generateConfigs = ({ .replace(new RegExp(outlineKeyColor, "g"), outline); // Save Schema - const cursorPath = path.resolve(schemaSvgsPath, "static"); writeSchemaData({ - path: cursorPath, + path: schemaSvgsPath, fileName: path.basename(cursor), content }); - return cursorPath; + return schemaSvgsPath; }); const aCursors = animatedCursors.map((cursor: string) => { @@ -87,14 +86,13 @@ const generateConfigs = ({ } // Save Schema - const cursorPath = path.resolve(schemaSvgsPath, "animated"); writeSchemaData({ - path: cursorPath, + path: schemaSvgsPath, fileName: path.basename(cursor), content }); - return cursorPath; + return schemaSvgsPath; }); // Creating Dir for store bitmaps