Skip to content

Commit

Permalink
refactor: wrong function calls (#13245)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Dec 22, 2021
1 parent 11dd27f commit 6c953ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/config/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ export async function validateConfig(
if (is.array(val)) {
for (const [subIndex, subval] of val.entries()) {
if (is.object(subval)) {
const subValidation = await module.exports.validateConfig(
subval,
const subValidation = await validateConfig(
subval as RenovateConfig,
isPreset,
`${currentPath}[${subIndex}]`
);
Expand Down Expand Up @@ -539,7 +539,7 @@ export async function validateConfig(
.filter((option) => option.freeChoice)
.map((option) => option.name);
if (!ignoredObjects.includes(key)) {
const subValidation = await module.exports.validateConfig(
const subValidation = await validateConfig(
val,
isPreset,
currentPath
Expand Down

0 comments on commit 6c953ea

Please sign in to comment.