Closed htemele closed 2 years ago
Manually applying the proposed pull request gave me an error when compiling
Error: Undefined operation "calc(0 / (0 * 0 + 1)) > 0". in node_modules/foundation-sites/scss/util/_math.scss
I ran the sass-migrator tool instead and it applied this change instead:
@use "sass:math";
@function strip-unit($num) {
@return math.div($num, $num * 0 + 1);
}
Everything worked afterwords
Hi,
As the title says, the '/' is in dart-sass 2.0 onwards only a separator. Right now it has been deprecated and will be removed in version 2.
It seems that function is not used anywhere in the codebase... it's safely to remove?