Skip to content

Commit fd3ad0d

Browse files
kichunyasava-cska
authored andcommitted
Fix test and server logs in vs-code.
1 parent 2219c38 commit fd3ad0d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

vscode-plugin/src/client/client.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,18 @@ export class Client {
130130
if (this.noConnectionEstablishedBefore) {
131131
this.noConnectionEstablishedBefore = false;
132132
await this.events.onDidConnectFirstTimeEventEmitter.fire();
133+
await Promise.all([
134+
this.provideLogChannel(),
135+
this.provideGTestChannel()
136+
]);
133137
}
134138
if (!this.isConnectionEstablished()) {
135139
messages.showInfoMessage(messages.successfullyConnected);
136140
logger.info('Successfully connected to server');
141+
await Promise.all([
142+
this.provideLogChannel(),
143+
this.provideGTestChannel()
144+
]);
137145
}
138146
if (this.newClient || !response.getLinked()) {
139147
await Promise.all([
@@ -238,7 +246,6 @@ export class Client {
238246

239247
private async writeGTestLog(responseAny: any): Promise<void> {
240248
const gtestEntry = responseAny as LogEntry;
241-
utbotUI.channels().outputGTestChannel.show(true);
242249
utbotUI.channels().outputGTestChannel.appendLine(gtestEntry.getMessage());
243250
}
244251

0 commit comments

Comments
 (0)