tofuness/Toshocat

View on GitHub
main/MediaDetector.js

Summary

Maintainability
A
1 hr
Test Coverage

Function scan has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  scan() {
    return new Promise((resolve, reject) => {
      let scriptPath;
      if (process.env.NODE_ENV === 'development') {
        scriptPath = path.resolve(__dirname, '../bin/detect-media.ps1');
Severity: Minor
Found in main/MediaDetector.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status