(message: string)
| 1265 | } |
| 1266 | |
| 1267 | private async setSessionFailedOpenBug(message: string): Promise<void> { |
| 1268 | this.setSessionStatus("Startup Error!", SessionStatus.Failed); |
| 1269 | await this.logger.writeAndShowErrorWithActions(message, [ |
| 1270 | { |
| 1271 | prompt: "Open an Issue", |
| 1272 | action: async (): Promise<void> => { |
| 1273 | await vscode.commands.executeCommand( |
| 1274 | "PowerShell.GenerateBugReport", |
| 1275 | ); |
| 1276 | }, |
| 1277 | }, |
| 1278 | ]); |
| 1279 | } |
| 1280 | |
| 1281 | private async setSessionFailedGetPowerShell( |
| 1282 | message: string, |
no test coverage detected