diff --git a/scripts/execute-vscode-sideload.ps1 b/scripts/execute-vscode-sideload.ps1 index d727f7626f..7352e36676 100644 --- a/scripts/execute-vscode-sideload.ps1 +++ b/scripts/execute-vscode-sideload.ps1 @@ -21,11 +21,11 @@ $PackageJson = Get-Content "package.json" -Raw | ConvertFrom-Json # Install the extension code --install-extension "./kiota-$($PackageJson.version).vsix" -$VsCodeRootPath = "~/.vscode" +$VsCodeRootPath = (Resolve-Path "~/.vscode").Path if ($WSL) { $Platform = "linux-x64" - $VsCodeRootPath = "~/.vscode-server" + $VsCodeRootPath = (Resolve-Path "~/.vscode-server").Path } $KiotaBin = "$VsCodeRootPath/extensions/ms-graph.kiota-$($PackageJson.version)/.kiotabin/$($PackageJson.kiotaVersion)/$Platform" diff --git a/vscode/microsoft-kiota/debugging.md b/vscode/microsoft-kiota/debugging.md index bd3cfc59d9..a4e6564fc7 100644 --- a/vscode/microsoft-kiota/debugging.md +++ b/vscode/microsoft-kiota/debugging.md @@ -17,7 +17,7 @@ Context: you're most likely a program manager eager to demo the latest bits from - GitHub CLI `winget install GitHub.CLI` - dotnet 8 `winget install Microsoft.DotNet.SDK.8` - node 20 `winget install CoreyButler.NVMforWindows && nvm install lts && nvm use lts` -- vsce & TypeScript `npm i -g TypeScript @vscode/vsce` +- vsce & TypeScript `npm i -g typescript @vscode/vsce` ### Steps