Skip to content

Commit 7b4351c

Browse files
committed
fix(Console): Fix for new Executor constuctor API
1 parent 54d3e31 commit 7b4351c

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/console.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,8 @@ replaceHandlers(data => {
5454

5555
// eslint-disable-next-line
5656
;(async () => {
57-
// Collect manifest of the peer `TcpServer`
58-
const manifests: Manifest[] = await discoverTcp()
59-
const clientTypes: ClientType[] = [TcpClient as ClientType]
60-
log.debug(`Obtained manifests: ${JSON.stringify(manifests, null, ' ')}`)
61-
6257
// Create executor (no need to start it, since it has no servers)
63-
const executor = new Executor(manifests, clientTypes)
58+
const executor = new Executor([discoverTcp], [TcpClient as ClientType])
6459

6560
// Create the REPL with the starting prompt
6661
const repl = readline.createInterface({

0 commit comments

Comments
 (0)