File tree 1 file changed +11
-6
lines changed
1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -87,12 +87,17 @@ export class SessionManager {
87
87
this . isWindowsOS = os . platform ( ) == "win32" ;
88
88
89
89
// Get the current version of this extension
90
- this . hostVersion =
91
- vscode
92
- . extensions
93
- . getExtension ( "ms-vscode.PowerShell" )
94
- . packageJSON
95
- . version ;
90
+ // NOTE: Report the host version as 1.0.0 for now to avoid
91
+ // issues loading the SSASCMDLETS module from SQL Server
92
+ // Analytics Service. Once we ship 1.0 of the extension,
93
+ // this will be changed back to the actual ext version.
94
+ // (part of a fix for PowerShell/vscode-powershell#599).
95
+ this . hostVersion = "1.0.0" ;
96
+ // vscode
97
+ // .extensions
98
+ // .getExtension("ms-vscode.PowerShell")
99
+ // .packageJSON
100
+ // .version;
96
101
97
102
// Fix the host version so that PowerShell can consume it.
98
103
// This is needed when the extension uses a prerelease
You can’t perform that action at this time.
0 commit comments