mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Revert "Ensure _.pick paths aren't interpolated twice. [closes #3952]"
This reverts commit 39a7eae40d.
This commit is contained in:
@@ -3745,7 +3745,7 @@
|
|||||||
*/
|
*/
|
||||||
function basePick(object, paths) {
|
function basePick(object, paths) {
|
||||||
return basePickBy(object, paths, function(value, path) {
|
return basePickBy(object, paths, function(value, path) {
|
||||||
return hasIn(object, [path]);
|
return hasIn(object, path);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user