From 7126891b9a21a3bf77f9c1b3a5003b51e33b8f09 Mon Sep 17 00:00:00 2001 From: Andy Jordan <2226434+andyleejordan@users.noreply.github.com> Date: Fri, 15 Nov 2024 11:45:07 -0800 Subject: [PATCH] Update the end-of-support message for PowerShell <7.4 As 7.2 LTS (and 7.3) have reached such. --- src/session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.ts b/src/session.ts index 71164b4564..a5f4314845 100644 --- a/src/session.ts +++ b/src/session.ts @@ -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;