aboutsummaryrefslogtreecommitdiff
path: root/dev/css-to-json-util.js
diff options
context:
space:
mode:
Diffstat (limited to 'dev/css-to-json-util.js')
-rw-r--r--dev/css-to-json-util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/css-to-json-util.js b/dev/css-to-json-util.js
index bdcac65b..d8577c8f 100644
--- a/dev/css-to-json-util.js
+++ b/dev/css-to-json-util.js
@@ -84,9 +84,9 @@ function formatRulesJson(rules) {
return result;
}
-function generateRules(cssFile, cssFileOverrides) {
+function generateRules(cssFile, overridesCssFile) {
const content1 = fs.readFileSync(cssFile, {encoding: 'utf8'});
- const content2 = fs.readFileSync(cssFileOverrides, {encoding: 'utf8'});
+ const content2 = fs.readFileSync(overridesCssFile, {encoding: 'utf8'});
const stylesheet1 = css.parse(content1, {}).stylesheet;
const stylesheet2 = css.parse(content2, {}).stylesheet;