chore: restore production release gate
This commit is contained in:
@@ -117,7 +117,7 @@ export function defineSealedMailCredentials(options: SealedMailCredentialsOption
|
||||
const secret = process.env[env];
|
||||
if (!secret)
|
||||
throw new Error(`${env} is not set; it is required to seal mail credentials at rest.`);
|
||||
let length = 0;
|
||||
let length: number;
|
||||
try {
|
||||
length = atob(secret).length;
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user