We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 107763a commit 8ffa087Copy full SHA for 8ffa087
src/session.ts
@@ -93,6 +93,11 @@ export class SessionManager {
93
.packageJSON
94
.version;
95
96
+ // Fix the host version so that PowerShell can consume it.
97
+ // This is needed when the extension uses a prerelease
98
+ // version string like 0.9.1-insiders-1234.
99
+ this.hostVersion = this.hostVersion.split('-')[0];
100
+
101
this.registerCommands();
102
this.createStatusBarItem();
103
}
0 commit comments