mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-11 10:57:07 +00:00
chore(lint): fix typecheck errors from hoisting refactors
- pair-scan: type BARCODE_SCANNER_SETTINGS as BarcodeSettings - explorer-sidebar: add missing desktopSidebarStyle useMemo - sidebar-workspace-list: coerce null dotColor to transparent - menu-header, e2e.test: formatting
This commit is contained in:
@@ -155,10 +155,7 @@ async function waitForRelayWebSocketReady(
|
||||
return poll();
|
||||
}
|
||||
|
||||
async function waitForProcessExit(
|
||||
relayProcess: ChildProcess,
|
||||
deadline: number,
|
||||
): Promise<void> {
|
||||
async function waitForProcessExit(relayProcess: ChildProcess, deadline: number): Promise<void> {
|
||||
if (relayProcess.exitCode !== null) return;
|
||||
if (Date.now() >= deadline) return;
|
||||
await sleep(50);
|
||||
|
||||
Reference in New Issue
Block a user