Move settings error throwing to loadSettings (#7605)

This commit is contained in:
Tommaso Sciortino
2025-09-03 10:41:53 -07:00
committed by GitHub
parent d2ae869bb4
commit e6e60861e5
14 changed files with 50 additions and 205 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ async function addMcpServer(
} = options;
const settingsScope =
scope === 'user' ? SettingScope.User : SettingScope.Workspace;
const settings = loadSettings(process.cwd());
const settings = loadSettings();
let newServer: Partial<MCPServerConfig> = {};