diff --git a/src/tts/tts-core.ts b/src/tts/tts-core.ts index a21964a46cc..ea449e4fcef 100644 --- a/src/tts/tts-core.ts +++ b/src/tts/tts-core.ts @@ -705,7 +705,7 @@ export async function edgeTTS(params: { const { text, outputPath, config, timeoutMs } = params; if (!text || text.trim().length === 0) { - throw new Error("Edge TTS requires non-empty text"); + throw new Error("Edge TTS requires non-empty text"); } const tts = new EdgeTTS({