From 0ba226e3c2d84bc622c90d128a4342aca2d7444a Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 26 Aug 2015 22:21:18 -0700 Subject: [PATCH] Fix test fails and `_.uniqBy` use `baseUniqBy`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index ad6dc9f48..f3df8613c 100644 --- a/lodash.js +++ b/lodash.js @@ -5403,7 +5403,7 @@ */ function uniqBy(array, iteratee) { return (array && array.length) - ? baseUniq(array, getIteratee(iteratee)) + ? baseUniqBy(array, getIteratee(iteratee)) : []; }