mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 02:11:28 +00:00
style(channels): format official token guard for ci parity
This commit is contained in:
@@ -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