Fix test fail in es builds.

This commit is contained in:
John-David Dalton
2016-08-03 17:22:20 -07:00
parent 21fba2df9f
commit d7951db01b

View File

@@ -3688,6 +3688,9 @@
* @returns {Object} Returns `object`.
*/
function baseSet(object, path, value, customizer) {
if (!isObject(object)) {
return object;
}
path = isKey(path, object) ? [path] : castPath(path);
var index = -1,