Closed marksmccann closed 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.
validateOptions
node-sass
const sass = require('node-sass-extra'); sass.render('foo'); // invalid: options is not an object
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.