Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 4e3169b

Browse files
committed
Show actual address in intellij connection success message instead of address in config
1 parent 731a307 commit 4e3169b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nodecg-io-intellij/extension/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class IntellijService extends ServiceBundle<IntelliJServiceConfig, IntelliJServi
2222
async createClient(config: IntelliJServiceConfig): Promise<Result<IntelliJServiceClient>> {
2323
const ij = new IntelliJ(config.address);
2424
await ij.rawRequest("available_methods", {});
25-
this.nodecg.log.info(`Successfully connected to IntelliJ at ${config.address}.`);
25+
this.nodecg.log.info(`Successfully connected to IntelliJ at ${ij.address}.`);
2626
return success(ij);
2727
}
2828

nodecg-io-intellij/extension/intellij.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fetch from "node-fetch";
22

33
export class IntelliJ {
4-
private readonly address: string;
4+
readonly address: string;
55

66
readonly pluginManager: PluginManager;
77
readonly localHistory: LocalHistory;

0 commit comments

Comments
 (0)