You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: strip quoted env var values before Zod validation
Infisical export and some .env loaders produce values wrapped in single
quotes (e.g. NEXT_PUBLIC_SUPPORT_EMAIL='support@codebuff.com'), causing
Zod format validators (z.email(), z.url()) to reject them.
- Add stripEnvQuotes() to common/src/env-schema.ts so clientProcessEnv
values are sanitised before schema validation runs
- Add the same stripping logic to sdk/test/setup-env.ts preload so test
environment values are also cleaned up early
Co-Authored-By: James <james@codebuff.com>
0 commit comments