We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17ebd68 commit 1d5fe13Copy full SHA for 1d5fe13
1 file changed
scripts/proof/ssh-sandbox-stream-errors.mts
@@ -6,7 +6,10 @@
6
// process whose stdout/stderr/stdin streams emit `error` events after the
7
// listeners are attached. With the fix each stream error rejects the command
8
// and kills the child; without the stream error listeners the unhandled
9
-// errors would terminate the process.
+// 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.
13
14
import { createRequire } from "node:module";
15
import path from "node:path";
0 commit comments