From cd1cd20f7a956ba02d527844b9ff0626eba7bbf4 Mon Sep 17 00:00:00 2001 From: Luke Rhodes Date: Fri, 3 Jan 2020 10:37:17 +1100 Subject: [PATCH] Fixed ping not being used correctly --- helpers/getDevice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/getDevice.js b/helpers/getDevice.js index 7982055e..40ef5e66 100644 --- a/helpers/getDevice.js +++ b/helpers/getDevice.js @@ -7,7 +7,7 @@ const startPing = (device, log) => { let ping try { - const ping = require('net-ping').createSession({ + ping = require('net-ping').createSession({ retries: 3, timeout: 1000 });