From 6c166d1c142648a9baba717b43cf53d1f2fc7f2b Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Fri, 26 Oct 2018 11:02:23 -0700 Subject: [PATCH] fix: fix the sample tests again (#218) --- speech/betaFeatures.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/speech/betaFeatures.js b/speech/betaFeatures.js index 7c9133cda5..7ccf48570f 100644 --- a/speech/betaFeatures.js +++ b/speech/betaFeatures.js @@ -156,9 +156,12 @@ async function speechTranscribeMultiChannel(fileName) { const [response] = await client.recognize(request); const transcription = response.results - .map(result => { - ` Channel Tag: ${result.channelTag} ${result.alternatives[0].transcript}`; - }) + .map( + result => + ` Channel Tag: ${result.channelTag} ${ + result.alternatives[0].transcript + }` + ) .join('\n'); console.log(`Transcription: \n${transcription}`); // [END speech_transcribe_multichannel_beta]