File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments