fix(cli): rename AdbServerNodeTcpConnector

This commit is contained in:
Simon Chan 2023-10-18 10:34:23 +08:00
parent fe5cb5a176
commit 758cc1860e
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD

View file

@ -5,7 +5,7 @@
import "source-map-support/register.js"; import "source-map-support/register.js";
import { Adb, AdbServerClient } from "@yume-chan/adb"; import { Adb, AdbServerClient } from "@yume-chan/adb";
import { AdbServerNodeTcpConnection } from "@yume-chan/adb-server-node-tcp"; import { AdbServerNodeTcpConnector } from "@yume-chan/adb-server-node-tcp";
import { import {
ConsumableWritableStream, ConsumableWritableStream,
WritableStream, WritableStream,
@ -33,7 +33,7 @@ program
function createClient() { function createClient() {
const opts: { H: string; P: number } = program.opts(); const opts: { H: string; P: number } = program.opts();
const connection = new AdbServerNodeTcpConnection({ const connection = new AdbServerNodeTcpConnector({
host: opts.H, host: opts.H,
port: opts.P, port: opts.P,
}); });