summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/lodash/result.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/lodash/result.js')
-rw-r--r--tools/eslint/node_modules/lodash/result.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eslint/node_modules/lodash/result.js b/tools/eslint/node_modules/lodash/result.js
index caf18b0fb0..6a4c9d941c 100644
--- a/tools/eslint/node_modules/lodash/result.js
+++ b/tools/eslint/node_modules/lodash/result.js
@@ -1,4 +1,4 @@
-var baseCastPath = require('./_baseCastPath'),
+var castPath = require('./_castPath'),
isFunction = require('./isFunction'),
isKey = require('./_isKey');
@@ -32,7 +32,7 @@ var baseCastPath = require('./_baseCastPath'),
* // => 'default'
*/
function result(object, path, defaultValue) {
- path = isKey(path, object) ? [path] : baseCastPath(path);
+ path = isKey(path, object) ? [path] : castPath(path);
var index = -1,
length = path.length;