prey/prey-node-client

View on GitHub
lib/agent/actions/geofencing/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function sync has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.sync = function(id, geofences, cb) {
  exports.watching = [];

  if(!geofences || geofences.length == 0) 
    done(id, cb);
Severity: Major
Found in lib/agent/actions/geofencing/index.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status