indexzero/ps-tree

View on GitHub

Showing 1 of 1 total issue

Function childrenOfPid has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function childrenOfPid(pid, callback) {
  var headers = null;

  if (typeof callback !== 'function') {
    throw new Error('childrenOfPid(pid, callback) expects callback');
Severity: Minor
Found in index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language