Skip to content

Commit

Permalink
Remove unused fn variable (redfin#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-wade authored and davidalber committed Jul 24, 2016
1 parent f81187f commit 995ba75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-server-gulp-module-tagger/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -101,7 +101,7 @@ var getColor = (function(){
return (hash%len+len)%len;
}

return function(fn, opts){
return function(opts){
return colors[hash(opts.name)];
}
})();

0 comments on commit 995ba75

Please sign in to comment.