Remove blank responses in wifi access point listing
This commit is contained in:
parent
0064f75e3b
commit
89199a5095
|
@ -43,6 +43,9 @@ class Wifi {
|
||||||
output.push(line)
|
output.push(line)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
output = output.filter(ap => {
|
||||||
|
if (ap !== '') return ap
|
||||||
|
})
|
||||||
return callback(null, output)
|
return callback(null, output)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue