From ceed42f247a2553262e03a5004247bc416959d4a Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Thu, 15 Sep 2022 11:14:35 +0800 Subject: [PATCH] Add colon in logging text --- packages/text-to-speech/src/htmlToSsml.ts | 2 +- packages/text-to-speech/src/textToSpeech.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/text-to-speech/src/htmlToSsml.ts b/packages/text-to-speech/src/htmlToSsml.ts index 8e0ec10a5..817049114 100644 --- a/packages/text-to-speech/src/htmlToSsml.ts +++ b/packages/text-to-speech/src/htmlToSsml.ts @@ -302,7 +302,7 @@ const textToUtterance = ({ export const htmlToSpeechFile = (htmlInput: HtmlInput): SpeechFile => { const { title, content, options } = htmlInput - console.log('creating speech file with options', options) + console.log('creating speech file with options:', options) const dom = parseHTML(content) const body = dom.document.querySelector('#readability-page-1') diff --git a/packages/text-to-speech/src/textToSpeech.ts b/packages/text-to-speech/src/textToSpeech.ts index a3ad34f29..27508175e 100644 --- a/packages/text-to-speech/src/textToSpeech.ts +++ b/packages/text-to-speech/src/textToSpeech.ts @@ -153,7 +153,6 @@ export const synthesizeTextToSpeech = async ( console.error('synthesis error:', error) throw error } finally { - console.log('closing synthesizer') audioStream?.end() synthesizer.close() console.log('synthesizer closed')