Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 6, 2022
1 parent 06846e2 commit a910811
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/config/normalize/lib/star_dot_path/entries.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ const listTokenEntries = function (entries, token) {

const getTokenEntries = function ({ value, path }, token) {
const { tokenType, defined, value: valueA } = handleMissingValue(value, token)
const entries = tokenType.getEntries(valueA, path, token, defined)
return entries
return tokenType.getEntries(valueA, path, token, defined)
}

// When the value does not exist, we set it deeply with `set()` but not with
Expand Down

0 comments on commit a910811

Please sign in to comment.