diff --git a/lib/wifi/index.js b/lib/wifi/index.js index db57125..59ae41c 100644 --- a/lib/wifi/index.js +++ b/lib/wifi/index.js @@ -43,6 +43,9 @@ class Wifi { output.push(line) } } + output = output.filter(ap => { + if (ap !== '') return ap + }) return callback(null, output) }) }