lib/scss_lint/config.rb in scss-lint-0.37.0 vs lib/scss_lint/config.rb in scss-lint-0.38.0
- old
+ new
@@ -152,11 +152,9 @@
# Merge two hashes, concatenating lists and further merging nested hashes.
def smart_merge(parent, child)
parent.merge(child) do |_key, old, new|
case old
- when Array
- old + new
when Hash
smart_merge(old, new)
else
new
end