mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 17:59:50 +02:00
fix(cli): rename AdbServerNodeTcpConnector
This commit is contained in:
parent
fe5cb5a176
commit
758cc1860e
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue