at-import / Sassy-Maps

Map helper functions for Sass 3.3 and up
MIT License
66 stars 22 forks source link

fixed 'map-get-deep' warning bug #12

Closed yoannisj closed 9 years ago

yoannisj commented 10 years ago

When searching a key in a non-map value, 'map-get-deep()' delegates to 'map-get-deep-warning()' to log a warning. But, the searched key is not passed correctly, which logs the following error instead:

Line 46 of /Library/Ruby/Gems/2.0.0/gems/sassy-maps-0.4.0/sass/sassy-maps/_map-get.scss: Undefined variable: "$keys".

Fixed this by passing the key to 'map-get-deep-warning()' directly as an argument.

Signed-off-by: Yoannis Jamar yoannis.j@gmail.com