Skip to content

Commit 93dcfc8

Browse files
lint fix
1 parent dbfe0c7 commit 93dcfc8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/transports/websocket.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,9 @@ export class WebSocketTransport<
355355
// to determine minimum TTL of an open connection given no explicit connection errors.
356356
if (connectionUnresponsive) {
357357
this.streamHandlerInvocationsWithNoConnection += 1
358-
logger.trace(`The connection is unresponsive, incremented streamHandlerIterationsWithNoConnection = ${this.streamHandlerInvocationsWithNoConnection}`)
358+
logger.trace(
359+
`The connection is unresponsive, incremented streamHandlerIterationsWithNoConnection = ${this.streamHandlerInvocationsWithNoConnection}`,
360+
)
359361
}
360362

361363
// We want to check if the URL we calculate is different from the one currently connected.
@@ -464,7 +466,7 @@ export class WebSocketTransport<
464466

465467
async determineUrlChange(
466468
context: EndpointContext<T>,
467-
subscriptions: SubscriptionDeltas<TypeFromDefinition<T["Parameters"]>>
469+
subscriptions: SubscriptionDeltas<TypeFromDefinition<T['Parameters']>>,
468470
): Promise<{ urlChanged: boolean; url: string }> {
469471
const url = await this.config.url(context, subscriptions.desired)
470472
const urlChanged = this.currentUrl !== url

0 commit comments

Comments
 (0)