Remove blank responses in wifi access point listing

This commit is contained in:
mmcwilliams 2017-12-31 22:03:42 -05:00
parent 0064f75e3b
commit 89199a5095
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ class Wifi {
output.push(line)
}
}
output = output.filter(ap => {
if (ap !== '') return ap
})
return callback(null, output)
})
}