Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 6, 2022
1 parent ed73162 commit 72e1e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/normalize/lib/star_dot_path/pick.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { list } from './get.js'
import { set } from './set.js'

// Inverse of `omit()`. Returns an object with only the properties being queried
// Returns an object with only the properties being queried.
export const pick = function (target, queryOrPath) {
const entries = list(target, queryOrPath)
return entries.reduce(includeEntry, {})
Expand Down

0 comments on commit 72e1e22

Please sign in to comment.