Refactor: Clean up code formatting and improve readability across multiple files (#387)

This commit is contained in:
samanhappy
2025-10-26 19:27:30 +08:00
committed by GitHub
parent f79028ed64
commit 9105507722
9 changed files with 111 additions and 109 deletions

View File

@@ -380,10 +380,10 @@ export const initializeClientsFromSettings = async (
try {
for (const conf of allServers) {
const { name } = conf;
// Expand environment variables in all configuration values
const expandedConf = replaceEnvVars(conf as any) as ServerConfigWithName;
// Skip disabled servers
if (expandedConf.enabled === false) {
console.log(`Skipping disabled server: ${name}`);