]> git.r.bdr.sh - rbdr/tomato-sauce/commitdiff
Use variable for interval
authorRuben Beltran del Rio <redacted>
Sat, 9 Apr 2022 17:44:09 +0000 (17:44 +0000)
committerRuben Beltran del Rio <redacted>
Sat, 9 Apr 2022 17:44:09 +0000 (17:44 +0000)
lib/tomato_sauce.js

index f3017ea8f1789516cd618c618d85cd2b61ecccaf..4a65ea16bbcdc2e3aa007b3f0068cb18776c909a 100644 (file)
@@ -142,7 +142,7 @@ const TomatoSauce = class TomatoSauce extends EventEmitter {
       renderer: this._getRenderer(),
       socket
     };
       renderer: this._getRenderer(),
       socket
     };
-    const interval = null;
+    let interval = null;
 
     socket.write(internals.kNAWSRequest);
 
 
     socket.write(internals.kNAWSRequest);