Skip to content

Commit 77befcf

Browse files
committed
revert
1 parent aad2509 commit 77befcf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@ const css_visitors = {
194194
node.metadata.is_global_block = node.prelude.children.some((selector) => {
195195
let is_global_block = false;
196196

197-
for (let i = 0; i < selector.children.length; i++) {
198-
const child = selector.children[i];
197+
for (const child of selector.children) {
199198
const idx = child.selectors.findIndex(is_global_block_selector);
200199

201200
if (is_global_block) {

0 commit comments

Comments
 (0)