Fix option pass

This commit is contained in:
Jake Howard 2016-03-24 21:12:54 +00:00
parent 5efb85f295
commit f3a8621274

View file

@ -1,7 +1,6 @@
var jscrewit = require('jscrewit'); var jscrewit = require('jscrewit');
var DEFAULT_OPTIONS = require('./default-options'); var DEFAULT_OPTIONS = require('./default-options');
module.exports = function transformer(content, options) { module.exports = function transformer(content) {
options = options || DEFAULT_OPTIONS; return jscrewit.encode(content, DEFAULT_OPTIONS);
return jscrewit.encode(content, options);
}; };