Skip to content

Commit

Permalink
[docs/json-schema] Set identifier exclude ref definitions/reserved-name
Browse files Browse the repository at this point in the history
  • Loading branch information
WangWeiLin-MV committed Jun 13, 2024
1 parent d5af519 commit c9090c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/vcpkg-schema-definitions.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,7 @@
},
{
"not": {
"description": "Identifiers must not be a Windows filesystem or vcpkg reserved name.",
"pattern": "^(prn|aux|nul|con|lpt[1-9]|com[1-9]|core|default)$"
"$ref": "#/definitions/reserved-name"
}
}
]
Expand Down Expand Up @@ -930,7 +929,7 @@
{
"not": {
"description": "Identifiers and parts delimited by slashes must not be a Windows filesystem or vcpkg reserved name.",
"pattern": "(^|/)(prn|aux|nul|con|lpt[1-9]|com[1-9]|core|default)(/|$)"
"pattern": "(^|/)(prn|aux|nul|con|lpt[0-9]|com[0-9]|core|default)(/|$)"
}
}
]
Expand Down

0 comments on commit c9090c1

Please sign in to comment.