style(channels): format official token guard for ci parity

This commit is contained in:
Tam Nhu Tran
2026-03-25 22:55:29 -04:00
parent ec1417ab7c
commit 3c638b02ba
+1 -3
View File
@@ -296,9 +296,7 @@ export function setConfiguredOfficialChannelToken(
throw new Error(`${envKey} cannot be empty or multiline.`);
}
if (normalized.length > MAX_OFFICIAL_CHANNEL_TOKEN_LENGTH) {
throw new Error(
`${envKey} cannot exceed ${MAX_OFFICIAL_CHANNEL_TOKEN_LENGTH} characters.`
);
throw new Error(`${envKey} cannot exceed ${MAX_OFFICIAL_CHANNEL_TOKEN_LENGTH} characters.`);
}
const envPath = getOfficialChannelEnvPath(channelId);