Skip to content

Commit

Permalink
fix: make parameters of tmt context optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Mar 21, 2024
1 parent d972afd commit 7e7096a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ const environmentSchema = z.object({
.object({
context: z
.object({
distro: z.string().min(1),
arch: z.string().min(1),
trigger: z.string().min(1),
distro: z.string().min(1).optional(),
arch: z.string().min(1).optional(),
trigger: z.string().min(1).optional(),
})
.optional()
.nullable(),
Expand Down

0 comments on commit 7e7096a

Please sign in to comment.