fix: resolve lint errors (unused vars, imports, formatting)

- Prefix unused test variables with underscore
- Remove unused piSpec import and idleMs class member
- Fix import ordering and code formatting
This commit is contained in:
Eng. Juan Combetto
2025-12-05 00:36:41 +09:00
committed by Peter Steinberger
parent 518af0ef24
commit 4a35bcec21
9 changed files with 144 additions and 126 deletions

View File

@@ -339,7 +339,9 @@ export async function monitorWebInbox(options: {
} as const;
}
function unwrapMessage(message: proto.IMessage | undefined): proto.IMessage | undefined {
function unwrapMessage(
message: proto.IMessage | undefined,
): proto.IMessage | undefined {
if (!message) return undefined;
if (message.ephemeralMessage?.message) {
return unwrapMessage(message.ephemeralMessage.message as proto.IMessage);