Skip to content

Commit 6927270

Browse files
stop supporting 6.0 (#1942)
1 parent 0f9e7de commit 6927270

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/session.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,8 @@ export class SessionManager implements Middleware {
504504
} else if (sessionDetails.status === "failed") {
505505
if (sessionDetails.reason === "unsupported") {
506506
this.setSessionFailure(
507-
"PowerShell language features are only supported on PowerShell version 3 and above. " +
508-
`The current version is ${sessionDetails.powerShellVersion}.`);
507+
"PowerShell language features are only supported on PowerShell version 5.1 and 6.1" +
508+
` and above. The current version is ${sessionDetails.powerShellVersion}.`);
509509
} else if (sessionDetails.reason === "languageMode") {
510510
this.setSessionFailure(
511511
"PowerShell language features are disabled due to an unsupported LanguageMode: " +

0 commit comments

Comments
 (0)