From 5c3676beafaa85b365e5b8eaf420cdce23e8674c Mon Sep 17 00:00:00 2001 From: "Jan T. Sott" Date: Sun, 3 Mar 2024 17:50:17 +0100 Subject: [PATCH] simplify channel --- src/channel.ts | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/src/channel.ts b/src/channel.ts index 4126fab..6784408 100644 --- a/src/channel.ts +++ b/src/channel.ts @@ -1,29 +1,3 @@ import vscode from 'vscode'; -export default { - outputChannel: vscode.window.createOutputChannel('NSIS', 'makensis-log'), - - async clear(): Promise { - this.outputChannel.clear(); - }, - - dispose(): void { - this.outputChannel.dispose(); - }, - - async append(input: unknown): Promise { - this.outputChannel.append(input); - }, - - async appendLine(input: string): Promise { - this.outputChannel.appendLine(input); - }, - - hide(): void { - this.outputChannel.hide(); - }, - - show(preserveFocus = true): void { - this.outputChannel.show(preserveFocus); - } -} +export default vscode.window.createOutputChannel('NSIS', 'makensis-log');