Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 5593e27

Browse files
author
dan
committed
prevent the extension from creating multiple channels
1 parent 74fd283 commit 5593e27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extension.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ const tmp = require('tmp');
55
const cp = require('child_process');
66
const { config } = require('process');
77
let logMessages = [];
8+
const output = vscode.window.createOutputChannel('PHP-CS-Fixer-Reloaded');
89
log('PhpCsFixer extension started');
910

1011
function log(msg) {
1112
logMessages.push(msg);
1213
}
1314

1415
function dumpLog() {
15-
const output = vscode.window.createOutputChannel('Tasks');
16+
1617
// output.show();
1718
logMessages.forEach(msg => output.appendLine(msg));
1819
logMessages = [];

0 commit comments

Comments
 (0)