Skip to content

Commit

Permalink
fix: move back to array
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Jul 19, 2024
1 parent 917e6e7 commit 88f2946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/cli/src/linter/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const routeSchema = z
timeout: timeoutSchema.optional(),
vars: exprSchema.optional(),
methods: z
.set(
.array(
z.enum([
'GET',
'POST',
Expand Down Expand Up @@ -268,7 +268,7 @@ const sslSchema = z
.strict()
.optional(),
ssl_protocols: z
.set(z.enum(['TLSv1.1', 'TLSv1.2', 'TLSv1.3']))
.array(z.enum(['TLSv1.1', 'TLSv1.2', 'TLSv1.3']))
.nonempty()
.optional(),
})
Expand Down

0 comments on commit 88f2946

Please sign in to comment.