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

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