Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 4a8186c5 authored by Simon Chan's avatar Simon Chan
Browse files

fix(webusb): fix a typo

parent 92511c63
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -18,11 +18,10 @@ export class AdbDaemonWebUsbDeviceManager {
     *
     * May be `undefined` if current runtime does not support WebUSB.
     */
    static readonly BROWSER = /* #__PURE__ */ (() => {
    static readonly BROWSER = /* #__PURE__ */ (() =>
        typeof globalThis.navigator !== "undefined" && globalThis.navigator.usb
            ? new AdbDaemonWebUsbDeviceManager(globalThis.navigator.usb)
            : undefined;
    })();
            : undefined)();

    #usbManager: USB;

+0 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@

import { hexToNumber, sequenceEqual } from "../../utils/index.js";
import type { AdbServerClient } from "../client.js";

import { FAIL } from "../stream.js";

export class NetworkError extends Error {