You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6f3a570
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/desktop/src/app/DesktopAppActivation.ts
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
// @effect-diagnostics nodeBuiltinImport:off -- Local socket ownership checks need lstat, an atomic rename, and a directory watch at the Node adapter boundary.
2
+
import{pipe}from"effect/Function";
2
3
import*asNodeCryptofrom"node:crypto";
3
4
import*asNodeFSfrom"node:fs";
4
5
import*asNodeFSPfrom"node:fs/promises";
@@ -151,8 +152,10 @@ export async function startDesktopAppControlServer(input: {
151
152
}
152
153
153
154
if(!isDesktopAppActivationRequest(parsed)){
154
-
finish(
155
-
invalidResponse(requestIdFromUnknown(parsed),"The desktop app request is invalid."),
155
+
pipe(
156
+
requestIdFromUnknown(parsed),
157
+
(requestId)=>invalidResponse(requestId,"The desktop app request is invalid."),
Copy file name to clipboardExpand all lines: apps/desktop/src/snapShot/DesktopSnapShot.ts
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
// @effect-diagnostics globalTimers:off -- Capture timeouts and Electron overlay animation timers run at native callback boundaries outside Effect fibers.
0 commit comments