Skip to content

Commit 960babe

Browse files
committed
linter
1 parent 821cc52 commit 960babe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,6 @@ class TuyaDevice extends EventEmitter {
410410

411411
// Queue this request and limit concurrent set requests to one
412412
return this._setQueue.add(() => pTimeout(new Promise((resolve, reject) => {
413-
414413
if (options.shouldWaitForResponse && this._setResolver) {
415414
throw new Error('A set command is already in progress. Can not issue a second one that also should return a response.');
416415
}
@@ -581,7 +580,7 @@ class TuyaDevice extends EventEmitter {
581580
// can emit a `data` event as soon as possible
582581
if (this.globalOptions.issueGetOnConnect) {
583582
this.get().catch(error => {
584-
debug('Error getting on connect: ' + error)
583+
debug('Error getting on connect: ' + error);
585584
this.emit('error', error);
586585
});
587586
}

0 commit comments

Comments
 (0)