Skip to content

Commit

Permalink
simplify channel
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Mar 3, 2024
1 parent 5fcad47 commit 5c3676b
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions src/channel.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,3 @@
import vscode from 'vscode';

export default {
outputChannel: vscode.window.createOutputChannel('NSIS', 'makensis-log'),

async clear(): Promise<void> {
this.outputChannel.clear();
},

dispose(): void {
this.outputChannel.dispose();
},

async append(input: unknown): Promise<void> {
this.outputChannel.append(input);
},

async appendLine(input: string): Promise<void> {
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');

0 comments on commit 5c3676b

Please sign in to comment.