Skip to content

Commit 1d5fe13

Browse files
committed
docs(proof): note ssh-sandbox upload TDZ fix in proof header
1 parent 17ebd68 commit 1d5fe13

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/proof/ssh-sandbox-stream-errors.mts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
// process whose stdout/stderr/stdin streams emit `error` events after the
77
// listeners are attached. With the fix each stream error rejects the command
88
// and kills the child; without the stream error listeners the unhandled
9-
// errors would terminate the process.
9+
// errors would terminate the process. The same fix also moves the `fail`
10+
// helper in `uploadDirectoryToSshTarget` before its first use, clearing a
11+
// temporal dead zone that prevented the upload pipeline from registering
12+
// stream error listeners.
1013

1114
import { createRequire } from "node:module";
1215
import path from "node:path";

0 commit comments

Comments
 (0)