Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 6, 2022
1 parent ce6e527 commit dd814b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/config/normalize/lib/star_dot_path/tokens/any.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const isDefined = function (value) {
return isRecurseObject(value)
}

// Default value when token is missing
const defaultValue = {}

// Use the token to list entries against a target value.
Expand Down
1 change: 1 addition & 0 deletions src/config/normalize/lib/star_dot_path/tokens/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const isDefined = function (value) {
return Array.isArray(value)
}

// Default value when token is missing
const defaultValue = []

// Use the token to list entries against a target value.
Expand Down
1 change: 1 addition & 0 deletions src/config/normalize/lib/star_dot_path/tokens/prop.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const isDefined = function (value) {
return isRecurseObject(value)
}

// Default value when token is missing
const defaultValue = {}

// Use the token to list entries against a target value.
Expand Down
1 change: 1 addition & 0 deletions src/config/normalize/lib/star_dot_path/tokens/regexp.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const isDefined = function (value) {
return isRecurseObject(value)
}

// Default value when token is missing
const defaultValue = {}

// Use the token to list entries against a target value.
Expand Down

0 comments on commit dd814b4

Please sign in to comment.