muhammaddadu/node-wifi-utils

View on GitHub

Showing 1 of 1 total issue

Function locationFromAccessPoints has 27 lines of code (exceeds 25 allowed). Consider refactoring.
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) => {
Severity: Minor
Found in src/Wifi.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language