Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function deepGet(object, path, joiner = '/') {
const len = keys.length;

while (i < len) {
const key = keys[i += 1];
const key = keys[i++];
if (!tmp || !hasOwnProperty.call(tmp, key)) return null;
tmp = tmp[key];
}
Expand All @@ -52,7 +52,7 @@ export function deepExists(object, path, joiner = '/') {
const len = keys.length;

while (i < len) {
const key = keys[i += 1];
const key = keys[i++];
if (!tmp || !hasOwnProperty.call(tmp, key)) return false;
tmp = tmp[key];
}
Expand Down