mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-26 16:41:49 +00:00
fix(tts): strip markdown before sending text to TTS engines (#13237)
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: 163c68539f
Co-authored-by: danielwanwx <144515713+danielwanwx@users.noreply.github.com>
Co-authored-by: sebslight <19554889+sebslight@users.noreply.github.com>
Reviewed-by: @sebslight
This commit is contained in:
@@ -140,7 +140,9 @@ describe("docker-setup.sh", () => {
|
||||
const assocCheck = spawnSync(systemBash, ["-c", "declare -A _t=()"], {
|
||||
encoding: "utf8",
|
||||
});
|
||||
if (assocCheck.status === null || assocCheck.status === 0) {
|
||||
if (assocCheck.status === 0 || assocCheck.status === null) {
|
||||
// Skip runtime check when system bash supports associative arrays
|
||||
// (not Bash 3.2) or when /bin/bash is unavailable (e.g. Windows).
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user