marksmccann / node-sass-extra

A drop-in replacement for node-sass' Node API that adds support for globs, promises and more.
MIT License
2 stars 1 forks source link

fix: tests for errors fixed to prevent false positives #37

Closed marksmccann closed 5 years ago

marksmccann commented 5 years ago

closes #23

marksmccann commented 5 years ago

@phillipluther Just FYI, had to remove the finally block in render. I had to add a throw statement in the catch block so that it would throw errors when not using the callback. And when I added the throw statement, I got an unhandled promise rejection when using the callback syntax. I think it works great now though.