Skip to content

Commit

Permalink
WIP Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth G. Franqueiro committed Mar 29, 2019
1 parent 937f539 commit 5904bd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/mdc-shape/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@

@for $i from 1 through length($radius) {
$corner: nth($radius, $i);

@if map-has-key($mdc-shape-category-values, $corner) {
$radius-values:
append($radius-values, nth(mdc-shape-unpack-radius_(map-get($mdc-shape-category-values, $corner)), $i));
Expand Down Expand Up @@ -153,6 +154,7 @@
} @else if length($radius) == 1 {
@return $radius $radius $radius $radius;
}

@error "Invalid radius: '#{$radius}' is more than 4 values";
}

Expand Down

0 comments on commit 5904bd1

Please sign in to comment.