Skip to content

Commit

Permalink
fix: remove unnecessary validation
Browse files Browse the repository at this point in the history
  • Loading branch information
0xkenj1 committed Apr 9, 2024
1 parent 9aeb1d2 commit 91732c9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/config/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ export const functionConfigSchema = object({
});

export const configSchema = object({
include: string()
.strict()
.required()
.test('is-glob', '"include" must be a valid glob pattern', (value) => isDynamicPattern(value)),
include: string().strict().required(),
exclude: string().strict().default(''),
root: string().strict().default('./'),
functions: functionConfigSchema,
Expand Down

0 comments on commit 91732c9

Please sign in to comment.