Skip to content

Commit

Permalink
Allow cloud instance names to contain '-' and '_' in the org part to …
Browse files Browse the repository at this point in the history
…support vercel instances (#1084)
  • Loading branch information
jaclarke authored Aug 27, 2024
1 parent 3ab7e53 commit 057d43f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/driver/src/conUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ async function resolveConfigOptions<
source = sources.instanceName!;
} else {
if (
!/^([A-Za-z0-9](-?[A-Za-z0-9])*)\/([A-Za-z0-9](-?[A-Za-z0-9])*)$/.test(
!/^([A-Za-z0-9_-](-?[A-Za-z0-9_])*)\/([A-Za-z0-9](-?[A-Za-z0-9])*)$/.test(
config.instanceName!,
)
) {
Expand Down
2 changes: 1 addition & 1 deletion packages/driver/test/shared-client-testcases

0 comments on commit 057d43f

Please sign in to comment.