🔗 Schemes out Path

This commit is contained in:
ful1e5 2020-09-01 16:51:13 +05:30
parent 815f6c491f
commit bb646ab67e

View file

@ -53,13 +53,12 @@ const generateConfigs = ({
.replace(new RegExp(outlineKeyColor, "g"), outline); .replace(new RegExp(outlineKeyColor, "g"), outline);
// Save Schema // Save Schema
const cursorPath = path.resolve(schemaSvgsPath, "static");
writeSchemaData({ writeSchemaData({
path: cursorPath, path: schemaSvgsPath,
fileName: path.basename(cursor), fileName: path.basename(cursor),
content content
}); });
return cursorPath; return schemaSvgsPath;
}); });
const aCursors = animatedCursors.map((cursor: string) => { const aCursors = animatedCursors.map((cursor: string) => {
@ -87,14 +86,13 @@ const generateConfigs = ({
} }
// Save Schema // Save Schema
const cursorPath = path.resolve(schemaSvgsPath, "animated");
writeSchemaData({ writeSchemaData({
path: cursorPath, path: schemaSvgsPath,
fileName: path.basename(cursor), fileName: path.basename(cursor),
content content
}); });
return cursorPath; return schemaSvgsPath;
}); });
// Creating Dir for store bitmaps // Creating Dir for store bitmaps