From 533d4b1b3426acca189baa1ec474b14efd92c9e3 Mon Sep 17 00:00:00 2001 From: Rohit Paul <113459757+RohitPaul12345@users.noreply.github.com> Date: Wed, 2 Aug 2023 17:27:03 +0530 Subject: [PATCH] Update punisher.js --- stress/punisher.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stress/punisher.js b/stress/punisher.js index 5bad4f21..025e35d9 100644 --- a/stress/punisher.js +++ b/stress/punisher.js @@ -1,10 +1,10 @@ -var Leap = require('../lib'); +let Leap = require('../lib'); setTimeout(function() { process.exit(0); }, Math.floor(Math.random() * 5000)); -var controller = new Leap.Controller(); +let controller = new Leap.Controller(); controller.on('connect', function() { console.log("connected")