aboutsummaryrefslogtreecommitdiff
path: root/dev/bin/generate-css-json.js
diff options
context:
space:
mode:
authorCashew <52880648+Scrub1492@users.noreply.github.com>2023-12-19 13:53:03 +0900
committerGitHub <noreply@github.com>2023-12-19 04:53:03 +0000
commitae2e2db90945705c965b3a10e414bb142e492792 (patch)
treec5d0755db5713032c4302977a1985058d7f11b8d /dev/bin/generate-css-json.js
parent6b07b1e6e158f718fd30c44878a72c3b6ad83fa0 (diff)
change *file to *filePath in function parameters (#385)
* change *file to *filePath * fix merge issues --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
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'});
}
}