Add colon in logging text

This commit is contained in:
Hongbo Wu 2022-09-15 11:14:35 +08:00
parent 8ce9c37314
commit ceed42f247
2 changed files with 1 additions and 2 deletions

View file

@ -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')

View file

@ -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')