Skip to content

Commit

Permalink
Update the end-of-support message for PowerShell <7.4
Browse files Browse the repository at this point in the history
As 7.2 LTS (and 7.3) have reached such.
  • Loading branch information
andyleejordan committed Nov 15, 2024
1 parent a8b28e0 commit 7126891
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 7126891

Please sign in to comment.