prey/prey-node-client

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

Summary

Maintainability
A
1 hr
Test Coverage

Function collect_files has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const collect_files = (output_file, cb) => {
  const output = fs.createWriteStream(output_file);
  const archive = archiver('zip', {
    zlib: { level: 9 },
  });
Severity: Minor
Found in lib/agent/actions/logretrieval/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status