(
message: string,
)
| 1279 | } |
| 1280 | |
| 1281 | private async setSessionFailedGetPowerShell( |
| 1282 | message: string, |
| 1283 | ): Promise<void> { |
| 1284 | this.setSessionStatus("Startup Error!", SessionStatus.Failed); |
| 1285 | await this.logger.writeAndShowErrorWithActions(message, [ |
| 1286 | { |
| 1287 | prompt: "Open PowerShell Install Documentation", |
| 1288 | action: async (): Promise<void> => { |
| 1289 | await vscode.env.openExternal( |
| 1290 | vscode.Uri.parse( |
| 1291 | "https://aka.ms/get-powershell-vscode", |
| 1292 | ), |
| 1293 | ); |
| 1294 | }, |
| 1295 | }, |
| 1296 | ]); |
| 1297 | } |
| 1298 | |
| 1299 | private async setSessionFailedGetDotNet(message: string): Promise<void> { |
| 1300 | this.setSessionStatus("Startup Error!", SessionStatus.Failed); |
no test coverage detected