Unified · Split
| @@ -1,3 +1,9 @@ | ||
| 1 | +for (const stream of [process.stdout, process.stderr]) { | |
| 2 | + stream.on("error", (err: NodeJS.ErrnoException) => { | |
| 3 | + if (err.code !== "EPIPE") throw err; | |
| 4 | + }); | |
| 5 | +} | |
| 6 | + | |
| 1 | 7 | import * as NodeHttpClient from "@effect/platform-node/NodeHttpClient"; |
| 2 | 8 | import * as NodeRuntime from "@effect/platform-node/NodeRuntime"; |
| 3 | 9 | import * as NodeServices from "@effect/platform-node/NodeServices"; |