matype / stylefmt

stylefmt is a tool that automatically formats stylesheets.
Other
2.1k stars 89 forks source link

TypeError: group.forEach is not a function #165

Closed wroughtec closed 8 years ago

wroughtec commented 8 years ago

Running from the command line (or postcss)

TypeError: group.forEach is not a function
    at /usr/local/lib/node_modules/stylefmt/node_modules/postcss-sorting/index.js:44:10
    at Array.forEach (native)
    at getSortOrderFromOptions (/usr/local/lib/node_modules/stylefmt/node_modules/postcss-sorting/index.js:43:4)
    at /usr/local/lib/node_modules/stylefmt/node_modules/postcss-sorting/index.js:231:15
    at formatOrder (/usr/local/lib/node_modules/stylefmt/lib/formatOrder.js:13:3)
    at /usr/local/lib/node_modules/stylefmt/index.js:19:7
mrmlnc commented 8 years ago

See https://github.com/hudochenkov/postcss-sorting/issues/32