Make vulnerabilities be [] by default.
This commit is contained in:
+1
@@ -228,6 +228,7 @@ exports.ChangeSchema = z.object({
|
||||
advisory_url: z.string()
|
||||
}))
|
||||
.optional()
|
||||
.default([])
|
||||
});
|
||||
exports.PullRequestSchema = z.object({
|
||||
number: z.number(),
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user