Skip to content

Commit dc7de59

Browse files
committed
expands path using provided util function
1 parent f1ff935 commit dc7de59

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
@@ -397,7 +397,7 @@ impl McpManager {
397397
impl Default for McpManager {
398398
fn default() -> Self {
399399
let expanded_path =
400-
shellexpand::full(DEFAULT_MCP_CREDENTIAL_PATH).expect("failed to expand default credential path");
400+
expand_path(DEFAULT_MCP_CREDENTIAL_PATH, &RealProvider).expect("failed to expand default credential path");
401401
let default_path = PathBuf::from(expanded_path.as_ref());
402402

403403
Self::new(default_path)

0 commit comments

Comments
 (0)