From 995ba75b91792c6b1891415288ff4f6f90d2f7cb Mon Sep 17 00:00:00 2001 From: Douglas Wade Date: Fri, 24 Jun 2016 14:44:14 -0700 Subject: [PATCH] Remove unused fn variable (#306) --- packages/react-server-gulp-module-tagger/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)]; } })();