We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aeb1c9 commit adade95Copy full SHA for adade95
speech-to-text/recognize-file.js
@@ -41,7 +41,7 @@ var WritableElementStream = require('./writable-element-stream');
41
*
42
* @returns {RecognizeStream|FormatStream|TimingStream}
43
*/
44
-module.exports = function recognizeFile(options) {
+module.exports = function recognizeFile(options) { // eslint-disable-line complexity
45
if (!options || !options.token) {
46
throw new Error('WatsonSpeechToText: missing required parameter: opts.token');
47
}
0 commit comments