Skip to content

Commit 59947fe

Browse files
committed
lint fix
1 parent 459a2b5 commit 59947fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
### v0.27.1
3+
### v0.27.2
44
* stream from recognizeMicrophone emits an `end` event when microphone access is not avaliable
55

66
### v0.27.0

speech-to-text/recognize-microphone.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ module.exports = function recognizeMicrophone(options) {
132132

133133
getMicStream.catch(function(err) {
134134
stream.emit('error', err);
135-
if (err.name == 'NotSupportedError') {
135+
if (err.name === 'NotSupportedError') {
136136
stream.end(); // end the stream
137137
}
138138
});

0 commit comments

Comments
 (0)