fix(voice-call): ignore ngrok probe output · openclaw/openclaw@bc6ecc8
vincentkoc
·
2026-05-28
·
via Recent Commits to openclaw:main
File tree
extensions/voice-call/src
| Original file line number | Diff line number | Diff line change |
|---|
@@ -59,7 +59,7 @@ describe("voice-call tunnels", () => {
|
59 | 59 | |
60 | 60 | await expect(result).resolves.toBe(true); |
61 | 61 | expect(mocks.spawn).toHaveBeenCalledWith("ngrok", ["version"], { |
62 | | -stdio: ["ignore", "pipe", "pipe"], |
| 62 | +stdio: "ignore", |
63 | 63 | }); |
64 | 64 | }); |
65 | 65 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -206,7 +206,7 @@ async function runNgrokCommand(args: string[]): Promise<string> {
|
206 | 206 | export async function isNgrokAvailable(): Promise<boolean> { |
207 | 207 | return new Promise((resolve) => { |
208 | 208 | const proc = spawn("ngrok", ["version"], { |
209 | | -stdio: ["ignore", "pipe", "pipe"], |
| 209 | +stdio: "ignore", |
210 | 210 | }); |
211 | 211 | |
212 | 212 | proc.on("close", (code) => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。