Skip to content
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.

Commit

Permalink
🐛 bug(mapValidation): fix typeError [ci skip]
Browse files Browse the repository at this point in the history
Closes #340
  • Loading branch information
kazupon committed Dec 12, 2016
1 parent 033df8e commit 853b7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function mapValidation (results: Array<any> | Object): Object {
do {
path = paths.shift()
value = value[path]
} while (paths.length > 0)
} while (paths.length > 0 && value !== undefined)
return value
}
})
Expand Down

0 comments on commit 853b7b3

Please sign in to comment.