Skip to content

Commit 83b1230

Browse files
committed
Reformat MCP recovery completion callback
1 parent 315f2c0 commit 83b1230

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

src/mcp/client.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -324,15 +324,12 @@ function getOrStartRecovery(
324324
delete coordinator.refreshInFlight;
325325
delete coordinator.browserFlow;
326326
};
327-
void shared.then(
328-
() => {
329-
clear();
330-
if ((coordinator.waiters ?? 0) === 0) {
331-
completeVerifiedRecovery(context, coordinator.recoveryGeneration ?? 0);
332-
}
333-
},
334-
clear,
335-
);
327+
void shared.then(() => {
328+
clear();
329+
if ((coordinator.waiters ?? 0) === 0) {
330+
completeVerifiedRecovery(context, coordinator.recoveryGeneration ?? 0);
331+
}
332+
}, clear);
336333
return shared;
337334
}
338335

0 commit comments

Comments
 (0)