From 3513359662003397f2438ad55f41aafb58ec9997 Mon Sep 17 00:00:00 2001 From: Baku Hashimoto Date: Wed, 12 Jun 2024 23:28:20 +0900 Subject: [PATCH] Fix PTPDevice --- core/src/PTPDevice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/PTPDevice.ts b/core/src/PTPDevice.ts index e398a14..6df4c57 100644 --- a/core/src/PTPDevice.ts +++ b/core/src/PTPDevice.ts @@ -469,7 +469,7 @@ export class PTPDevice extends EventEmitter { this.#console.info( 'transferInBulk', - 'type=' + PTPBlockType[type] ?? type, + 'type=' + PTPBlockType[type], 'code=' + toHexString(code, 2), 'id=' + transactionId, 'payload=',