claude: Don't quote executable path in mcp configuration (#34805)
This was generating an invalid string for the configuration, removing the extra quotes makes it work. This affected the versions of Zed that have a space in their name. Release Notes: - N/A
This commit is contained in:
parent
caa4b529e4
commit
57ab09c2da
1 changed files with 0 additions and 3 deletions
|
@ -69,9 +69,6 @@ impl ClaudeMcpServer {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn server_config(&self) -> Result<McpServerConfig> {
|
pub fn server_config(&self) -> Result<McpServerConfig> {
|
||||||
#[cfg(not(target_os = "windows"))]
|
|
||||||
let zed_path = util::get_shell_safe_zed_path()?;
|
|
||||||
#[cfg(target_os = "windows")]
|
|
||||||
let zed_path = std::env::current_exe()
|
let zed_path = std::env::current_exe()
|
||||||
.context("finding current executable path for use in mcp_server")?
|
.context("finding current executable path for use in mcp_server")?
|
||||||
.to_string_lossy()
|
.to_string_lossy()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue