Skip to content

Commit

Permalink
added type-of to avoid recusive
Browse files Browse the repository at this point in the history
  • Loading branch information
woodcox authored Apr 15, 2024
1 parent 1ccdf24 commit 0e2411e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/generator/workers/_process-collection.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
// Convert list to map
$converted-collection: ();
@each $item in $collection {
$converted-collection: map-merge($converted-collection, $item);
@if meta.type-of($item) == 'map' {
$converted-collection: map-merge($converted-collection, $item);
}
}
$collection: $converted-collection;
}
Expand Down

0 comments on commit 0e2411e

Please sign in to comment.