fix(voice-call): ignore tailscale helper stderr · openclaw/openclaw@76f447b
vincentkoc
·
2026-05-28
·
via Recent Commits to openclaw:main
File tree
extensions/voice-call/src/webhook
| Original file line number | Diff line number | Diff line change |
|---|
@@ -5,7 +5,7 @@ const { spawnMock } = vi.hoisted(() => ({
|
5 | 5 | spawnMock: vi.fn(), |
6 | 6 | })); |
7 | 7 | |
8 | | -const tailscaleSpawnOptions = { stdio: ["ignore", "pipe", "pipe"] } as const; |
| 8 | +const tailscaleSpawnOptions = { stdio: ["ignore", "pipe", "ignore"] } as const; |
9 | 9 | |
10 | 10 | vi.mock("node:child_process", async () => { |
11 | 11 | const { mockNodeBuiltinModule } = await import("openclaw/plugin-sdk/test-node-mocks"); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -36,7 +36,7 @@ function runTailscaleCommand(
|
36 | 36 | ): Promise<{ code: number; stdout: string }> { |
37 | 37 | return new Promise((resolve) => { |
38 | 38 | const proc = spawn("tailscale", args, { |
39 | | -stdio: ["ignore", "pipe", "pipe"], |
| 39 | +stdio: ["ignore", "pipe", "ignore"], |
40 | 40 | }); |
41 | 41 | |
42 | 42 | let stdout: TailscaleCommandStdout = { bytes: 0, exceeded: false, text: "" }; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。