Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit cc8975d

Browse files
committed
Use language name for console name, fixes #247
1 parent 4e0b682 commit cc8975d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/auto-languageclient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ export default class AutoLanguageClient {
429429

430430
const loggingConsole = new LoggingConsoleAdapter(server.connection);
431431
if (this._consoleDelegate != null) {
432-
loggingConsole.attach(this._consoleDelegate({ id: this.name, name: 'abc' }));
432+
loggingConsole.attach(this._consoleDelegate({ id: this.name, name: this.getLanguageName() }));
433433
}
434434
server.disposable.add(loggingConsole);
435435

@@ -617,7 +617,7 @@ export default class AutoLanguageClient {
617617
for (const server of this._serverManager.getActiveServers()) {
618618
const loggingConsole = this.getServerAdapter(server, 'loggingConsole');
619619
if (loggingConsole) {
620-
loggingConsole.attach(this._consoleDelegate({ id: this.name, name: 'abc' }));
620+
loggingConsole.attach(this._consoleDelegate({ id: this.name, name: this.getLanguageName() }));
621621
}
622622
}
623623

0 commit comments

Comments
 (0)