Skip to content

Commit

Permalink
fix(config): allow constraints anywhere (#29533)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jun 11, 2024
1 parent c9f8acf commit 05e62c4
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 05e62c4

Please sign in to comment.