aboutsummaryrefslogtreecommitdiff
path: root/dev/bin/generate-css-json.js
diff options
context:
space:
mode:
Diffstat (limited to 'dev/bin/generate-css-json.js')
-rw-r--r--dev/bin/generate-css-json.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/bin/generate-css-json.js b/dev/bin/generate-css-json.js
index 73c406e0..57419b41 100644
--- a/dev/bin/generate-css-json.js
+++ b/dev/bin/generate-css-json.js
@@ -21,8 +21,8 @@ import {formatRulesJson, generateRules, getTargets} from '../generate-css-json.j
/** */
function main() {
- for (const {cssFile, overridesCssFile, outputPath} of getTargets()) {
- const json = formatRulesJson(generateRules(cssFile, overridesCssFile));
+ for (const {cssFilePath, overridesCssFilePath, outputPath} of getTargets()) {
+ const json = formatRulesJson(generateRules(cssFilePath, overridesCssFilePath));
fs.writeFileSync(outputPath, json, {encoding: 'utf8'});
}
}