lib/scss_beautifier/convert.rb in scss_beautifier-0.1.3 vs lib/scss_beautifier/convert.rb in scss_beautifier-0.1.4

- old
+ new

@@ -43,10 +43,11 @@ (child.is_a?(Sass::Tree::MixinNode) && nxt.is_a?(Sass::Tree::MixinNode) && child.line + 1 == nxt.line) "" else if (child.is_a?(Sass::Tree::MixinNode) && nxt.is_a?(Sass::Tree::MixinNode)) || - (child.is_a?(Sass::Tree::ExtendNode) && nxt.is_a?(Sass::Tree::ExtendNode)) + (child.is_a?(Sass::Tree::ExtendNode) && nxt.is_a?(Sass::Tree::ExtendNode)) || + (child.is_a?(Sass::Tree::MixinNode) && child.children.any?) "" else "\n" end end