From 409b81871733b8a9fe04273b564e352ca5865306 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Tue, 12 Apr 2022 12:37:38 -0400 Subject: [PATCH] Fix incorrect path in theme build script `buildThemes.ts` had an incorrect path for generating the theme json files. It probably happened when we did some reorganization of the styles directory. Co-Authored-By: gibusu <95764254+gibusu@users.noreply.github.com> --- styles/src/buildThemes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/src/buildThemes.ts b/styles/src/buildThemes.ts index ce8812ebda0d805a12124d258958003bc1afa878..0e8d90d96a00e63a83ce11e0897ee6fec3119a86 100644 --- a/styles/src/buildThemes.ts +++ b/styles/src/buildThemes.ts @@ -10,7 +10,7 @@ for (let theme of themes) { let styleTree = snakeCase(app(theme)); let styleTreeJSON = JSON.stringify(styleTree, null, 2); let outPath = path.resolve( - `${__dirname}/../assets/themes/${theme.name}.json` + `${__dirname}/../../assets/themes/${theme.name}.json` ); fs.writeFileSync(outPath, styleTreeJSON); console.log(`- ${outPath} created`);