Skip to content

Commit

Permalink
Merge pull request #12 from binoyPeries/main
Browse files Browse the repository at this point in the history
Fix bugs found during testing
  • Loading branch information
binoyPeries authored Sep 9, 2024
2 parents 1e1228b + e1e60ab commit 2f82020
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36236,7 +36236,7 @@ const serviceSchema = yup
basePath: yup
.string()
.matches(
/^\/[a-zA-Z0-9\/-_]*$/,
/^\/[a-zA-Z0-9\/\-_]*$/,
({ path }) =>
`${path} must start with a forward slash and can only contain alphanumeric characters, hyphens, underscores and forward slashes.`
),
Expand All @@ -36257,7 +36257,7 @@ const endpointSchemaV0D1 = (srcDir) =>
.string()
.contextRequired()
.matches(
/^\/[a-zA-Z0-9\/-_]*$/,
/^\/[a-zA-Z0-9\/\-_]*$/,
({ path }) =>
`${path} must start with a forward slash and can only contain alphanumeric characters, hyphens, and forward slashes.`
),
Expand Down
4 changes: 2 additions & 2 deletions schemas.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const serviceSchema = yup
basePath: yup
.string()
.matches(
/^\/[a-zA-Z0-9\/-_]*$/,
/^\/[a-zA-Z0-9\/\-_]*$/,
({ path }) =>
`${path} must start with a forward slash and can only contain alphanumeric characters, hyphens, underscores and forward slashes.`
),
Expand All @@ -175,7 +175,7 @@ const endpointSchemaV0D1 = (srcDir) =>
.string()
.contextRequired()
.matches(
/^\/[a-zA-Z0-9\/-_]*$/,
/^\/[a-zA-Z0-9\/\-_]*$/,
({ path }) =>
`${path} must start with a forward slash and can only contain alphanumeric characters, hyphens, and forward slashes.`
),
Expand Down

0 comments on commit 2f82020

Please sign in to comment.