Skip to content

Commit

Permalink
Added right options forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
f0rmat1k committed Jan 29, 2015
1 parent 16fb212 commit 7daf926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ function normalize(dep, options) {
return res;
}

module.exports = function (deps) {
module.exports = function (deps, options) {
if (!deps) { return []; }
if (!Array.isArray(deps)) { deps = [ deps ]; }

return deps.reduce(function (previous, current) {
return previous.concat(normalize(current));
return previous.concat(normalize(current, options));
}, []);
};

0 comments on commit 7daf926

Please sign in to comment.