From d0f22a8ed266ea6d1cd5196dcd14b222aae502aa Mon Sep 17 00:00:00 2001 From: Martin Murphy Date: Sat, 8 Jan 2022 11:28:21 -0600 Subject: [PATCH] Remove unused var --- lib/airport.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/airport.js b/lib/airport.js index 63c4617..1f48e40 100644 --- a/lib/airport.js +++ b/lib/airport.js @@ -7,8 +7,6 @@ const tool = '/System/Library/PrivateFrameworks/Apple80211.framework/Version const cmdLine = tool + ' -s'; const detector = tool + ' -getInfo'; -const macRegex = /([0-9a-zA-Z]{1}[0-9a-zA-Z]{1}[:]{1}){5}[0-9a-zA-Z]{1}[0-9a-zA-Z]{1}/; - /** * Parsing the output of airport (Mac OS X) * @param str output of the tool