Skip to content

Commit 88a9627

Browse files
committed
expands path using provided util function
1 parent a5d7a0b commit 88a9627

File tree

1 file changed

+1
-1
lines changed
  • crates/agent/src/agent/mcp

1 file changed

+1
-1
lines changed

crates/agent/src/agent/mcp/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ impl McpManager {
400400
impl Default for McpManager {
401401
fn default() -> Self {
402402
let expanded_path =
403-
shellexpand::full(DEFAULT_MCP_CREDENTIAL_PATH).expect("failed to expand default credential path");
403+
expand_path(DEFAULT_MCP_CREDENTIAL_PATH, &RealProvider).expect("failed to expand default credential path");
404404
let default_path = PathBuf::from(expanded_path.as_ref());
405405

406406
Self::new(default_path)

0 commit comments

Comments
 (0)