(env: Env)
| 501 | }; |
| 502 | |
| 503 | const checkEmailFromDomain = (env: Env): string[] => { |
| 504 | if (!isPlaceholderFromAddress(env.EMAIL_FROM)) { |
| 505 | return []; |
| 506 | } |
| 507 | |
| 508 | return [ |
| 509 | `EMAIL_FROM "${env.EMAIL_FROM}" uses a placeholder domain. ` + |
| 510 | "Set it to an address on a domain you control and verified with the provider.", |
| 511 | ]; |
| 512 | }; |
| 513 | |
| 514 | /** |
| 515 | * Rejects placeholder secrets in production. The env-example files ship |
no test coverage detected