File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,17 +26,17 @@ if ($Clean) {
2626}
2727
2828if ($UpdateVsCodeConfig ) {
29- $vscodeConfigPath = $PSScriptRoot + " ../../../ .vscode/ mcp.json"
29+ $vscodeConfigPath = Join-Path $PSScriptRoot " .." " .. " " .. " " .vscode" " mcp.json"
3030 if (Test-Path $vscodeConfigPath ) {
31- $vscodeConfig = Get-Content - Raw $vscodeConfig | ConvertFrom-Json - AsHashtable
31+ $vscodeConfig = Get-Content - Raw $vscodeConfigPath | ConvertFrom-Json - AsHashtable
3232 }
3333 else {
3434 $vscodeConfig = @ {}
3535 }
3636 $serverKey = " azure-sdk-mcp"
3737 $serverConfig = @ {
3838 " type" = " stdio"
39- " command" = " /home/ben/azs/azure-sdk-tools/eng/common/mcp/azure-sdk-mcp.ps1 "
39+ " command" = " $PSCommandPath "
4040 }
4141 $orderedServers = [ordered ]@ {
4242 $serverKey = $serverConfig
You can’t perform that action at this time.
0 commit comments