From 39a7eae40d7b97921bca466ccb65969f0cc49332 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 17 Sep 2018 22:37:59 -0700 Subject: [PATCH] Ensure _.pick paths aren't interpolated twice. [closes #3952] --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 1d606f5e6..e281de4ea 100644 --- a/lodash.js +++ b/lodash.js @@ -3745,7 +3745,7 @@ */ function basePick(object, paths) { return basePickBy(object, paths, function(value, path) { - return hasIn(object, path); + return hasIn(object, [path]); }); }