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

Invalid type for options #38

Closed marksmccann closed 5 years ago

marksmccann commented 5 years ago

We should add another check to validateOptions to make sure we have been given an object. node-sass does this, we should replicate their behavior.

const sass = require('node-sass-extra');

sass.render('foo'); // invalid: options is not an object