(message: string, items?: string[])
| 72 | |
| 73 | // We should not await on this function. |
| 74 | public showErrorMessage(message: string, items?: string[]): Thenable<string | undefined> { |
| 75 | this.appendLine(message); |
| 76 | |
| 77 | if (!items) { |
| 78 | return vscode.window.showErrorMessage(message); |
| 79 | } |
| 80 | return vscode.window.showErrorMessage(message, ...items); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | export let outputChannel: vscode.OutputChannel | undefined; |
no test coverage detected