prey/prey-node-client

View on GitHub
lib/conf/action.js

Summary

Maintainability
A
1 hr
Test Coverage

Function sendAction has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const sendAction = (values, cb) => {
  const { key } = values;
  let postData;
  if (key.localeCompare('native_location') === 0) {
    postData = postDataNativeLocation;
Severity: Minor
Found in lib/conf/action.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status