Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ active editor's language mode is PowerShell.

### Using Windows PowerShell 5.1

While we _highly encourage_ the use of [PowerShell Core 7.2][], if you must use Windows
While we _highly encourage_ the use of [PowerShell 7.4 LTS][], if you must use Windows
PowerShell 5.1 we attempt to support it on a best-effort basis. Unfortunately, being two
major versions behind and in maintenance mode, Windows PowerShell is missing many of the
bug fixes and APIs we use to make the extension experience great. So please, if you can,
Expand Down Expand Up @@ -410,7 +410,7 @@ WSManStackVersion 3.0
[more information]: #providing-information-about-your-environment
[open a new issue]: https://github.com/PowerShell/vscode-powershell/issues/new/choose
[open an issue there]: https://github.com/PowerShell/PSScriptAnalyzer/issues/new/choose
[PowerShell Core 7.2]: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.2
[PowerShell 7.4 LTS]: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4
[semantic highlighting]: https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide
[tackling an issue]: ./development.md
[v2021.2.2]: https://github.com/PowerShell/vscode-powershell/releases/tag/v2021.2.2
Expand Down
4 changes: 3 additions & 1 deletion test/features/UpdatePowerShell.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ describe("UpdatePowerShell feature", function () {
// @ts-expect-error method is private.
const tag: string | undefined = await updater.maybeGetNewRelease();
// NOTE: This will need to be updated each new major stable.
assert(tag?.startsWith("v7.5"));
// TODO: Upstream bug causes LTS releases to update the stable info.
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
assert(tag?.startsWith("v7.5") || tag?.startsWith("v7.4"));
});
});
});