Browse Source

Update ClineProvider.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Hannes Rudolph 10 months ago
parent
commit
7462906b7a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/webview/ClineProvider.ts

+ 1 - 1
src/core/webview/ClineProvider.ts

@@ -1988,7 +1988,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
 			await fs.mkdir(mcpServersDir, { recursive: true })
 		} catch (error) {
 			// Fallback to a relative path if directory creation fails
-			return path.join("~", ".roo-code", "mcp")
+			return path.join(os.homedir(), ".roo-code", "mcp")
 		}
 		return mcpServersDir
 	}