aboutsummaryrefslogtreecommitdiff
path: root/dev/generate-css-json.js
diff options
context:
space:
mode:
Diffstat (limited to 'dev/generate-css-json.js')
-rw-r--r--dev/generate-css-json.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev/generate-css-json.js b/dev/generate-css-json.js
index b196e411..26bdfa64 100644
--- a/dev/generate-css-json.js
+++ b/dev/generate-css-json.js
@@ -151,7 +151,10 @@ export function generateRules(cssFilePath, overridesCssFilePath) {
const styles = [];
if (typeof declarations !== 'undefined') {
for (const declaration of declarations) {
- if (declaration.type !== 'declaration') { console.log(declaration); continue; }
+ if (declaration.type !== 'declaration') {
+ console.log(declaration);
+ continue;
+ }
const {property, value} = /** @type {css.Declaration} */ (declaration);
if (typeof property !== 'string' || typeof value !== 'string') { continue; }
styles.push([property, value]);