Skip to content

Commit

Permalink
Fix force with limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Sep 12, 2021
1 parent 4f5e735 commit b71858e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/config/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ const normalizeSelect = function (value, propName) {
return { [propName]: valueA }
}

const normalizeLimit = normalizeReporter
const normalizeLimit = function (value, propName) {
const valueA = normalizeOptionalArray(value)
checkDefinedStringArray(valueA, propName)
return { [propName]: valueA }
}

const checkTitles = function (value, propName) {
Object.entries(value).forEach(([childName, propValue]) => {
Expand Down

0 comments on commit b71858e

Please sign in to comment.