From 2f38fa5b4a9013b000c8bfdaef9b9c3aced2673d Mon Sep 17 00:00:00 2001 From: April Arcus Date: Tue, 19 Oct 2021 10:10:01 -0700 Subject: [PATCH] handle math.div --- tasks/converter/less_conversion.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/converter/less_conversion.rb b/tasks/converter/less_conversion.rb index c6cd7e03de..61e2146b5d 100644 --- a/tasks/converter/less_conversion.rb +++ b/tasks/converter/less_conversion.rb @@ -173,6 +173,7 @@ def convert_to_scss(file) file = replace_calculation_semantics(file) file = replace_file_imports(file) file = wrap_at_groups_with_at_root(file) + file = replace_division(file) file end @@ -182,6 +183,12 @@ def wrap_at_groups_with_at_root(file) } end + def replace_division(less) + re = /(?