Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Feb 20, 2022
1 parent c0fbf6c commit 6c10ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/normalize/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const normalizeArray = function (value) {
return [...new Set(normalizeOptionalArray(value))]
}

export const normalizeOptionalArray = function (value) {
const normalizeOptionalArray = function (value) {
return Array.isArray(value) ? value : [value]
}

Expand Down

0 comments on commit 6c10ec3

Please sign in to comment.