Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the end-of-support message for PowerShell <7.4 #5090

Merged
merged 1 commit into from
Nov 15, 2024
Merged
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
Update the end-of-support message for PowerShell <7.4
As 7.2 LTS (and 7.3) have reached such.
  • Loading branch information
andyleejordan committed Nov 15, 2024
commit 0ecd13f3d53f1fe558b9a07eef4fc047505ea3ed
2 changes: 1 addition & 1 deletion src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ export class SessionManager implements Middleware {
void this.setSessionFailedGetPowerShell(`PowerShell v${version} is not supported, please update!`);
} else if (satisfies(version, ">=5.1.0 <6.0.0")) {
void this.setSessionFailedGetPowerShell("It looks like you're trying to use Windows PowerShell, which is supported on a best-effort basis. Can you try PowerShell 7?");
} else if (satisfies(version, ">=6.0.0 <7.2.0")) {
} else if (satisfies(version, ">=6.0.0 <7.4.0")) {
void this.setSessionFailedGetPowerShell(`PowerShell v${version} has reached end-of-support, please update!`);
} else {
shouldUpdate = false;
Expand Down