Skip to content

Commit 112c0c4

Browse files
authored
Split up emulator hub message to better match how its used (#8261)
1 parent bd80099 commit 112c0c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/commands/emulators-start.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@ function printEmulatorOverview(options: any): void {
125125
) as ExtensionsEmulator;
126126
extensionsTable = extensionsEmulatorInstance.extensionsInfoTable();
127127
}
128+
const hubInfo = EmulatorRegistry.getInfo(Emulators.HUB);
128129
logger.info(`\n${successMessageTable}
129130
130131
${emulatorsTable}
131132
${
132-
EmulatorRegistry.isRunning(Emulators.HUB)
133-
? clc.blackBright(" Emulator Hub running at ") + EmulatorRegistry.url(Emulators.HUB).host
133+
hubInfo
134+
? clc.blackBright(` Emulator Hub host: ${hubInfo.host} port: ${hubInfo.port}`)
134135
: clc.blackBright(" Emulator Hub not running.")
135136
}
136137
${clc.blackBright(" Other reserved ports:")} ${reservedPortsString}

0 commit comments

Comments
 (0)