aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_baseSet.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash/_baseSet.js')
-rw-r--r--node_modules/lodash/_baseSet.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/node_modules/lodash/_baseSet.js b/node_modules/lodash/_baseSet.js
index 2be04d5f2..612a24cc8 100644
--- a/node_modules/lodash/_baseSet.js
+++ b/node_modules/lodash/_baseSet.js
@@ -1,7 +1,6 @@
var assignValue = require('./_assignValue'),
castPath = require('./_castPath'),
isIndex = require('./_isIndex'),
- isKey = require('./_isKey'),
isObject = require('./isObject'),
toKey = require('./_toKey');
@@ -19,7 +18,7 @@ function baseSet(object, path, value, customizer) {
if (!isObject(object)) {
return object;
}
- path = isKey(path, object) ? [path] : castPath(path);
+ path = castPath(path, object);
var index = -1,
length = path.length,