mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-12 08:14:07 +00:00
style(channels): format official token guard for ci parity
This commit is contained in:
1 parent
ec1417ab7c
commit
3c638b02ba
1 file changed
+1
-3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user