Skip to content

Commit

Permalink
chore: fix new lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
yume-chan committed Sep 21, 2023
1 parent aca7df4 commit f8d4648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/adb/src/daemon/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const AdbSignatureAuthenticator: AdbAuthenticator = async function* (
for await (const key of credentialStore.iterateKeys()) {
const packet = await getNextRequest();

if (packet.arg0 !== AdbAuthType.Token) {
if (packet.arg0 !== (AdbAuthType.Token as number)) {
return;
}

Expand All @@ -94,7 +94,7 @@ export const AdbPublicKeyAuthenticator: AdbAuthenticator = async function* (
): AsyncIterable<AdbPacketData> {
const packet = await getNextRequest();

if (packet.arg0 !== AdbAuthType.Token) {
if (packet.arg0 !== (AdbAuthType.Token as number)) {
return;
}

Expand Down

0 comments on commit f8d4648

Please sign in to comment.