codeclimate/codeclimate-fixme

View on GitHub
lib/fix-me.js

Summary

Maintainability
A
1 hr
Test Coverage

Function find has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

FixMe.prototype.find = function(paths, strings, callback) {
  var pattern = `(${strings.join('|')})`;
  var grep = spawn('grep', [...GREP_OPTIONS, pattern, ...paths]);

  readline.createInterface({ input: grep.stdout }).on('line', (line) => {
Severity: Minor
Found in lib/fix-me.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status