Skip to content

Commit fbd6a3b

Browse files
EmilySeville7cfgEmilySeville7cfg
authored andcommitted
feat: permit null for dependencies
1 parent 9f84df1 commit fbd6a3b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

schema.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,15 @@
558558
"uniqueItems": true,
559559
"items": {
560560
"description": "A dependency of the current script or sub-command",
561-
"type": "string",
562-
"minLength": 1
561+
"oneOf": [
562+
{
563+
"type": "string",
564+
"minLength": 1
565+
},
566+
{
567+
"type": "null"
568+
}
569+
]
563570
}
564571
},
565572
{
@@ -573,6 +580,9 @@
573580
"type": "string",
574581
"minLength": 1
575582
},
583+
{
584+
"type": "null"
585+
},
576586
{
577587
"type": "object",
578588
"required": [

0 commit comments

Comments
 (0)