Skip to content

Commit

Permalink
fix(config): allow constraints anywhere (renovatebot#29533)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins authored and kosmoz committed Jun 12, 2024
1 parent 22a514e commit b3d8554
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/config/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,7 @@ export async function validateConfig(
} else if (
type === 'object' &&
currentPath !== 'compatibility' &&
currentPath !== 'constraints' &&
currentPath !== 'force.constraints'
key !== 'constraints'
) {
if (is.plainObject(val)) {
if (key === 'registryAliases') {
Expand Down

0 comments on commit b3d8554

Please sign in to comment.