diff --git a/lib/util/settings.ts b/lib/util/settings.ts index 1d69bb819..38ce5b272 100644 --- a/lib/util/settings.ts +++ b/lib/util/settings.ts @@ -390,7 +390,7 @@ function applyEnvironmentVariables(settings: Partial): void { if (typeof obj[key] === 'object' && obj[key]) { const newPath = [...path]; - if (key !== 'properties') { + if (key !== 'properties' && key !== 'oneOf' && !Number.isInteger(Number(key))) { newPath.push(key); } iterate(obj[key], newPath);