Showing 1 of 1 total issue
Function locationFromAccessPoints
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static locationFromAccessPoints(accessPoints: Array): Promise {
return new Promise((resolve, reject) => {
let url = 'https://maps.googleapis.com/maps/api/browserlocation/json';
url += '?browser=node-wifi-utils&sensor=true&wifi=';
url += accessPoints.map((accessPoint) => {