Repository navigation
Tags
Tags
fix(mcp): read the GitHub tag list on Windows PowerShell 5.1 (#16008) * fix(mcp): read the GitHub tag list on Windows PowerShell 5.1 When both npm registries are unreachable the installer falls back to the GitHub tags API. Windows PowerShell 5.1's ConvertFrom-Json emits a JSON array as a single Object[] item, so @(Read-Json ...) held one array instead of one object per tag. $_.ref then returned an array, -cmatch acted as a filter and never set $Matches, and [version]$Matches[1] failed with "Cannot index into a null array". Flatten a single array item before matching. Windows PowerShell 5.1 is what the "powershell -NoProfile -Command irm ... | iex" command runs, i.e. what Desktop shows, so the fallback could not work there. * test(mcp): cover nested PowerShell tag arrays --------- Co-authored-by: 二丫讲梵 <eryajf@163.com>
fix(editor): drop unknown-object highlights over replaced text
chore(packages): release 0.4.147 [skip node-packages-release]
fix(plugins): decode plugin ui base64 natively instead of per byte
PreviousNext