Skip to content

Commit bea61e1

Browse files
committed
lib/css-analyzer.js: remove unneccesary check
1 parent 140265a commit bea61e1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/css-analyzer.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,6 @@ class CSSAnalyzer {
160160
// "declarations":[{"type":"declaration","property":"border","value":"0"},{"type":"declaration","property":"background","value":"none"}]
161161
// }
162162
case "rule":
163-
if (!rule.selectors || !rule.declarations) {
164-
return;
165-
}
166-
167163
this.emit("rule", rule);
168164

169165
// analyze each selector and declaration

0 commit comments

Comments
 (0)