Skip to content

Commit 73c6985

Browse files
committed
Fix regex pattern in schema to ensure valid subsection keys
1 parent 47cf61a commit 73c6985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export const schema = {
186186
description: "Object of subsections",
187187
type: "object",
188188
patternProperties: {
189-
"^[A-Za-z0-9-_]+": {
189+
"^[A-Za-z0-9-_]+$": {
190190
anyOf: [{ $ref: "#/definitions/section" }],
191191
},
192192
},

0 commit comments

Comments
 (0)