diff --git a/packages/react-server-gulp-module-tagger/index.js b/packages/react-server-gulp-module-tagger/index.js index ca5627d43..55fb0cb75 100644 --- a/packages/react-server-gulp-module-tagger/index.js +++ b/packages/react-server-gulp-module-tagger/index.js @@ -34,7 +34,7 @@ var loggerSpec = function(fullMatch, optString){ } opts.name = getName (fn, opts, trim); - opts.color = getColor (fn, opts); + opts.color = getColor (opts); return JSON.stringify(opts); } @@ -101,7 +101,7 @@ var getColor = (function(){ return (hash%len+len)%len; } - return function(fn, opts){ + return function(opts){ return colors[hash(opts.name)]; } })();