Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 13, 2022
1 parent 27fa428 commit 0d10204
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/normalize/lib/wild_wild_path/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const has = function (target, queryOrPath) {
return find(target, queryOrPath) !== undefined
}

// Find the first non-missing entry
const find = function (target, queryOrPath) {
// eslint-disable-next-line fp/no-loops
for (const { value, missing } of iterate(target, queryOrPath)) {
Expand Down

0 comments on commit 0d10204

Please sign in to comment.