fix(codex-supervisor): satisfy release lint · openclaw/openclaw@4c16bd2
steipete
·
2026-05-31
·
via Recent Commits to openclaw:main
File tree
extensions/codex-supervisor/src
| Original file line number | Diff line number | Diff line change |
|---|
@@ -812,10 +812,10 @@ describe("connectCodexAppServerEndpoint", () => {
|
812 | 812 | typeof data === "string" |
813 | 813 | ? data |
814 | 814 | : Array.isArray(data) |
815 | | - ? Buffer.concat(data).toString() |
| 815 | + ? Buffer.concat(data).toString("utf8") |
816 | 816 | : data instanceof ArrayBuffer |
817 | | - ? Buffer.from(new Uint8Array(data)).toString() |
818 | | - : Buffer.from(data).toString(); |
| 817 | + ? Buffer.from(new Uint8Array(data)).toString("utf8") |
| 818 | + : Buffer.from(data).toString("utf8"); |
819 | 819 | const request = JSON.parse(messageText) as Record<string, unknown>; |
820 | 820 | if (request.method === "initialize") { |
821 | 821 | socket.send(JSON.stringify({ id: request.id, result: {} })); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。